37 public static function getPublicView($userField, $additionalParameters = [])
47 public static function getPublicEdit($userField, $additionalParameters = [])
58 public static function getSettingsHtml($userField, $additionalParameters, $fromForm)
167 return Editor::getListCurrency();
177 protected static function getInput($userField, $fieldName, $dbValue)
183 $APPLICATION->IncludeComponent(
184 'bitrix:currency.money.input',
187 'CONTROL_ID' => $userField[
'FIELD_NAME'].
'_'.Random::getString(5),
188 'FIELD_NAME' => $fieldName,
190 'EXTENDED_CURRENCY_SELECTOR' =>
'Y'
193 array(
'HIDE_ICONS' =>
'Y')
196 return ob_get_clean();
static getUserTypeDescription()
static getPublicView($userField, $additionalParameters=[])
static PrepareSettings($userField)
static GetDBColumnType($userField)
static formatToDB($value, $currency)
static unFormatFromDB($value)
static getSettingsHtml($userField, $additionalParameters, $fromForm)
static getEditFormHtml($userField, $additionalParameters)
static getInput($userField, $fieldName, $dbValue)
static OnBeforeSave($userField, $value)
static getPublicEdit($userField, $additionalParameters=[])
static getPublicText($userField)
static getEditFormHtmlMulty($userField, $control)
static getAdminListEditHtml($userField, $additionalParameters)
static getAdminListViewHtml($userField, $additionalParameters)
static onBeforeSave(array $userField, $value)
static formatToDb(string $value, ?string $currency)
static unFormatFromDb(?string $value)
static prepareSettings(array $userField)
static loadLanguageFile($file, $language=null, $normalize=true)
static getUserTypeDescription()
static renderAdminListEdit(array $userField, ?array $additionalParameters)
static renderEdit(array $userField, ?array $additionalParameters=[])
static renderEditForm(array $userField, ?array $additionalParameters)
static renderText(array $userField)
static renderView(array $userField, ?array $additionalParameters=[])
static renderSettings($userField, ?array $additionalParameters, $varsFromForm)
static renderAdminListView(array $userField, ?array $additionalParameters)