1 | <?php |
||
13 | class CountrySettingsAdmin extends CoreAdmin |
||
14 | { |
||
15 | |||
16 | |||
17 | const COUNTRY_SETTINGS_SAVE_BUTTON = '#country_settings_save_2'; |
||
18 | |||
19 | |||
20 | |||
21 | /** |
||
22 | * Return the url for the country settings admin page. |
||
23 | * @param string $additional_params |
||
24 | * @return string |
||
25 | */ |
||
26 | public static function url($additional_params = '') |
||
30 | |||
31 | |||
32 | /** |
||
33 | * Return the decimal places (precision) radio field locator for selection. |
||
34 | * @param int $decimal_place_value |
||
35 | * @param string $country_code |
||
36 | * @return string |
||
37 | */ |
||
38 | public static function currencyDecimalPlacesRadioField($decimal_place_value = 2, $country_code = 'US') |
||
42 | |||
43 | |||
44 | /** |
||
45 | * Return the currency decimal mark field locator for selection. |
||
46 | * @param string $decimal_mark |
||
47 | * @return string |
||
48 | */ |
||
49 | public static function currencyDecimalMarkRadioField($decimal_mark = '.') |
||
53 | |||
54 | |||
55 | /** |
||
56 | * Return the currency thousands separator field locator for selection. |
||
57 | * @param string $thousands_separator |
||
58 | * @return string |
||
59 | */ |
||
60 | public static function currencyThousandsSeparatorField($thousands_separator = ',') |
||
64 | } |