c_ws_plugin__s2member_pro_utilities
public class c_ws_plugin__s2member_pro_utilities
1.5
( 2 Methods ) Method Summary | |
---|---|
public static str | currency_symbol(str $currency) Converts Currency Codes to Currency Symbols (deprecated). |
public static str | full_state(str $state, str $country) Expands a state/province abbrev into it's full version. |
public static str currency_symbol(str $currency)
Converts Currency Codes to Currency Symbols (deprecated).
1.5
str $currency - Expects a 3 character Currency Code.
str - A Currency Symbol. Defaults to the $
sign.
Starting with v110531, please use: c_ws_plugin__s2member_utils_cur::symbol()
public static str full_state(str $state, str $country)
Expands a state/province abbrev into it's full version.
This works for the United States and Canada only.
1.5
str $state - A state/province abbreviation.
str $country - A country code. One of US|CA
.
str - The full state/province name.
s2Member Pro utilities.