1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CCurrencyLang
Граф наследования:CCurrencyLang:
CAllCurrencyLang

Открытые статические члены

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

Защищенные статические члены

static explodeFormatTemplate (string $template)
static clearFields ($value)
static unFormatValue (string $formattedValue, string $thousandsSeparator, string $decPoint)

Статические защищенные данные

static array $arSeparators
static array $arDefaultValues
static array $arCurrencyFormat = []
static int $useHideZero = 0

Подробное описание

См. определение в файле currency_lang.php строка 11

Методы

◆ Add()

Add ( $arFields)
static

См. определение в файле currency_lang.php строка 314

◆ applyTemplate()

applyTemplate ( $value,
$template )
static

См. определение в файле currency_lang.php строка 761

◆ checkFields()

checkFields ( $action,
& $fields,
$currency = '',
$language = '',
$getErrors = false )
static

См. определение в файле currency_lang.php строка 70

◆ checkLanguage()

checkLanguage ( $language)
static
См. также
Currency\CurrencyManager::checkLanguage

См. определение в файле currency_lang.php строка 770

◆ clearFields()

clearFields ( $value)
staticprotected

См. определение в файле currency_lang.php строка 859

◆ CurrencyFormat()

CurrencyFormat ( $price,
$currency,
$useTemplate = true )
static

См. определение в файле currency_lang.php строка 655

◆ Delete()

Delete ( $currency,
$lang )
static

См. определение в файле currency_lang.php строка 357

◆ disableUseHideZero()

disableUseHideZero ( )
static

См. определение в файле currency_lang.php строка 56

◆ enableUseHideZero()

enableUseHideZero ( )
static

См. определение в файле currency_lang.php строка 47

◆ explodeFormatTemplate()

explodeFormatTemplate ( string $template)
staticprotected

См. определение в файле currency_lang.php строка 799

◆ formatEditValue()

formatEditValue ( int|float|string|null $value,
array $format )
static

См. определение в файле currency_lang.php строка 745

◆ formatValue()

formatValue ( $value,
array $format,
$useTemplate = true )
static

См. определение в файле currency_lang.php строка 696

◆ GetByID()

GetByID ( $currency,
$lang )
static

См. определение в файле currency_lang.php строка 375

◆ GetCurrencyFormat()

GetCurrencyFormat ( $currency,
$lang = LANGUAGE_ID )
static

@global CStackCacheManager $stackCacheManager

См. определение в файле currency_lang.php строка 393

◆ GetDefaultValues()

GetDefaultValues ( )
static

См. определение в файле currency_lang.php строка 450

◆ GetFormatDescription()

GetFormatDescription ( $currency)
static

См. определение в файле currency_lang.php строка 565

◆ GetFormatTemplates()

GetFormatTemplates ( )
static

См. определение в файле currency_lang.php строка 482

◆ GetList()

GetList ( $by = 'lang',
$order = 'asc',
$currency = '' )
static

См. определение в файле currency_lang.php строка 426

◆ getParsedCurrencyFormat()

getParsedCurrencyFormat ( string $currency)
static

См. определение в файле currency_lang.php строка 792

◆ getPriceControl()

getPriceControl ( string $control,
string $currency )
static

См. определение в файле currency_lang.php строка 834

◆ GetSeparators()

GetSeparators ( )
static

См. определение в файле currency_lang.php строка 455

◆ GetSeparatorTypes()

GetSeparatorTypes ( $boolFull = false)
static

См. определение в файле currency_lang.php строка 460

◆ getUnFormattedValue()

getUnFormattedValue ( string $formattedValue,
string $currency,
string $lang = LANGUAGE_ID )
static

См. определение в файле currency_lang.php строка 864

◆ isAllowUseHideZero()

isAllowUseHideZero ( )
static

См. определение в файле currency_lang.php строка 65

◆ isExistCurrencyLanguage()

isExistCurrencyLanguage ( $currency,
$language )
static

См. определение в файле currency_lang.php строка 775

◆ unFormatValue()

unFormatValue ( string $formattedValue,
string $thousandsSeparator,
string $decPoint )
staticprotected

См. определение в файле currency_lang.php строка 871

◆ Update()

Update ( $currency,
$lang,
$arFields )
static

См. определение в файле currency_lang.php строка 332

Поля

◆ $arCurrencyFormat

array $arCurrencyFormat = []
staticprotected

См. определение в файле currency_lang.php строка 41

◆ $arDefaultValues

array $arDefaultValues
staticprotected
Инициализатор
= [
'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

array $arSeparators
staticprotected
Инициализатор
= [
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

int $useHideZero = 0
staticprotected

См. определение в файле currency_lang.php строка 43

◆ SEP_COMMA

const SEP_COMMA = Currency\CurrencyClassifier::SEPARATOR_COMMA

См. определение в файле currency_lang.php строка 18

◆ SEP_DOT

const SEP_DOT = Currency\CurrencyClassifier::SEPARATOR_DOT

См. определение в файле currency_lang.php строка 16

◆ SEP_EMPTY

const SEP_EMPTY = Currency\CurrencyClassifier::SEPARATOR_EMPTY

См. определение в файле currency_lang.php строка 14

◆ SEP_NBSPACE

const SEP_NBSPACE = Currency\CurrencyClassifier::SEPARATOR_NBSPACE

См. определение в файле currency_lang.php строка 22

◆ SEP_SPACE

const SEP_SPACE = Currency\CurrencyClassifier::SEPARATOR_SPACE

См. определение в файле currency_lang.php строка 20


Объявления и описания членов класса находятся в файле: