|
| static | enableUseHideZero () |
| static | disableUseHideZero () |
| static | isAllowUseHideZero () |
| static | checkFields ($action, &$fields, $currency='', $language='', $getErrors=false) |
| static | Add ($arFields) |
| static | Update ($currency, $lang, $arFields) |
| static | Delete ($currency, $lang) |
| static | GetByID ($currency, $lang) |
| static | GetCurrencyFormat ($currency, $lang=LANGUAGE_ID) |
| static | GetList ($by='lang', $order='asc', $currency='') |
| static | GetDefaultValues () |
| static | GetSeparators () |
| static | GetSeparatorTypes ($boolFull=false) |
| static | GetFormatTemplates () |
| static | GetFormatDescription ($currency) |
| static | CurrencyFormat ($price, $currency, $useTemplate=true) |
| static | formatValue ($value, array $format, $useTemplate=true) |
| static | formatEditValue (int|float|string|null $value, array $format) |
| static | applyTemplate ($value, $template) |
| static | checkLanguage ($language) |
| static | isExistCurrencyLanguage ($currency, $language) |
| static | getParsedCurrencyFormat (string $currency) |
| static | getPriceControl (string $control, string $currency) |
| static | getUnFormattedValue (string $formattedValue, string $currency, string $lang=LANGUAGE_ID) |
|
| const | SEP_EMPTY = Currency\CurrencyClassifier::SEPARATOR_EMPTY |
| const | SEP_DOT = Currency\CurrencyClassifier::SEPARATOR_DOT |
| const | SEP_COMMA = Currency\CurrencyClassifier::SEPARATOR_COMMA |
| const | SEP_SPACE = Currency\CurrencyClassifier::SEPARATOR_SPACE |
| const | SEP_NBSPACE = Currency\CurrencyClassifier::SEPARATOR_NBSPACE |
См. определение в файле currency_lang.php строка 11
◆ Add()
◆ applyTemplate()
| applyTemplate |
( |
| $value, |
|
|
| $template ) |
|
static |
◆ checkFields()
| checkFields |
( |
| $action, |
|
|
& | $fields, |
|
|
| $currency = '', |
|
|
| $language = '', |
|
|
| $getErrors = false ) |
|
static |
◆ checkLanguage()
| checkLanguage |
( |
| $language | ) |
|
|
static |
◆ clearFields()
◆ CurrencyFormat()
| CurrencyFormat |
( |
| $price, |
|
|
| $currency, |
|
|
| $useTemplate = true ) |
|
static |
◆ Delete()
| Delete |
( |
| $currency, |
|
|
| $lang ) |
|
static |
◆ disableUseHideZero()
◆ enableUseHideZero()
◆ explodeFormatTemplate()
| explodeFormatTemplate |
( |
string | $template | ) |
|
|
staticprotected |
◆ formatEditValue()
| formatEditValue |
( |
int|float|string|null | $value, |
|
|
array | $format ) |
|
static |
◆ formatValue()
| formatValue |
( |
| $value, |
|
|
array | $format, |
|
|
| $useTemplate = true ) |
|
static |
◆ GetByID()
| GetByID |
( |
| $currency, |
|
|
| $lang ) |
|
static |
◆ GetCurrencyFormat()
| GetCurrencyFormat |
( |
| $currency, |
|
|
| $lang = LANGUAGE_ID ) |
|
static |
◆ GetDefaultValues()
◆ GetFormatDescription()
| GetFormatDescription |
( |
| $currency | ) |
|
|
static |
◆ GetFormatTemplates()
◆ GetList()
| GetList |
( |
| $by = 'lang', |
|
|
| $order = 'asc', |
|
|
| $currency = '' ) |
|
static |
◆ getParsedCurrencyFormat()
| getParsedCurrencyFormat |
( |
string | $currency | ) |
|
|
static |
◆ getPriceControl()
| getPriceControl |
( |
string | $control, |
|
|
string | $currency ) |
|
static |
◆ GetSeparators()
◆ GetSeparatorTypes()
| GetSeparatorTypes |
( |
| $boolFull = false | ) |
|
|
static |
◆ getUnFormattedValue()
| getUnFormattedValue |
( |
string | $formattedValue, |
|
|
string | $currency, |
|
|
string | $lang = LANGUAGE_ID ) |
|
static |
◆ isAllowUseHideZero()
◆ isExistCurrencyLanguage()
| isExistCurrencyLanguage |
( |
| $currency, |
|
|
| $language ) |
|
static |
◆ unFormatValue()
| unFormatValue |
( |
string | $formattedValue, |
|
|
string | $thousandsSeparator, |
|
|
string | $decPoint ) |
|
staticprotected |
◆ Update()
| Update |
( |
| $currency, |
|
|
| $lang, |
|
|
| $arFields ) |
|
static |
◆ $arCurrencyFormat
| array $arCurrencyFormat = [] |
|
staticprotected |
◆ $arDefaultValues
Инициализатор= [
'FORMAT_STRING' => '#',
'DEC_POINT' => Currency\CurrencyClassifier::DECIMAL_POINT_DOT,
'THOUSANDS_SEP' => ' ',
'DECIMALS' => 2,
'THOUSANDS_VARIANT' => Currency\CurrencyClassifier::SEPARATOR_SPACE,
'HIDE_ZERO' => 'N',
]
См. определение в файле currency_lang.php строка 32
◆ $arSeparators
Инициализатор= [
Currency\CurrencyClassifier::SEPARATOR_EMPTY => '',
Currency\CurrencyClassifier::SEPARATOR_DOT => '.',
Currency\CurrencyClassifier::SEPARATOR_COMMA => ',',
Currency\CurrencyClassifier::SEPARATOR_SPACE => ' ',
Currency\CurrencyClassifier::SEPARATOR_NBSPACE => ' ',
]
См. определение в файле currency_lang.php строка 24
◆ $useHideZero
◆ SEP_COMMA
| const SEP_COMMA = Currency\CurrencyClassifier::SEPARATOR_COMMA |
◆ SEP_DOT
| const SEP_DOT = Currency\CurrencyClassifier::SEPARATOR_DOT |
◆ SEP_EMPTY
| const SEP_EMPTY = Currency\CurrencyClassifier::SEPARATOR_EMPTY |
◆ SEP_NBSPACE
| const SEP_NBSPACE = Currency\CurrencyClassifier::SEPARATOR_NBSPACE |
◆ SEP_SPACE
| const SEP_SPACE = Currency\CurrencyClassifier::SEPARATOR_SPACE |
Объявления и описания членов класса находятся в файле: