|
static | getUserTypeDescription () |
|
static | renderField (array $userField, ?array $additionalParameters=[]) |
|
static | renderView (array $userField, ?array $additionalParameters=[]) |
|
static | renderEdit (array $userField, ?array $additionalParameters=[]) |
|
static | renderSettings ($userField, ?array $additionalParameters, $varsFromForm) |
|
static | renderEditForm (array $userField, ?array $additionalParameters) |
|
static | renderAdminListView (array $userField, ?array $additionalParameters) |
|
static | renderAdminListEdit (array $userField, ?array $additionalParameters) |
|
static | renderFilter (array $userField, ?array $additionalParameters) |
|
static | renderText (array $userField) |
|
static | getSettingsHtml ($userField, ?array $additionalParameters, $varsFromForm) |
|
static | getPublicView (array $userField, ?array $additionalParameters=[]) |
|
static | getPublicEdit (array $userField, ?array $additionalParameters=[]) |
|
static | getEditFormHtml (array $userField, ?array $additionalParameters) |
|
static | getAdminListViewHtml (array $userField, ?array $additionalParameters) |
|
static | getAdminListEditHTML (array $userField, ?array $additionalParameters) |
|
static | getFilterHtml (array $userField, ?array $additionalParameters) |
|
static | getPublicText (array $userField) |
|
static | getDefaultValue (array $userField, array $additionalParameters=[]) |
|
static | getDbColumnType () |
|
static | isMandatorySupported () |
|
static | isMultiplicitySupported () |
|
См. определение в файле basetype.php строка 8
◆ getAdminListEditHTML()
static getAdminListEditHTML |
( |
array |
$userField, |
|
|
?array |
$additionalParameters |
|
) |
| |
|
static |
- Аргументы
-
array | $userField | |
array | null | $additionalParameters | |
- Возвращает
- string
См. определение в файле basetype.php строка 284
◆ getAdminListViewHtml()
static getAdminListViewHtml |
( |
array |
$userField, |
|
|
?array |
$additionalParameters |
|
) |
| |
|
static |
- Аргументы
-
array | $userField | |
array | null | $additionalParameters | |
- Возвращает
- string
См. определение в файле basetype.php строка 274
◆ getBaseUserTypeDescription()
static getBaseUserTypeDescription |
( |
| ) |
|
|
staticprotected |
◆ getDbColumnType()
static getDbColumnType |
( |
| ) |
|
|
staticabstract |
◆ getDefaultValue()
static getDefaultValue |
( |
array |
$userField, |
|
|
array |
$additionalParameters = [] |
|
) |
| |
|
static |
◆ getDescription()
static getDescription |
( |
| ) |
|
|
staticprotected |
- Возвращает
- array
Переопределяется в MoneyType, AddressType, ElementType, SectionType, BooleanType, DateTimeType, DateType, DoubleType, EnumType, FileType, IntegerType, StringFormattedType, StringType и UrlType.
См. определение в файле basetype.php строка 37
◆ getEditFormHtml()
static getEditFormHtml |
( |
array |
$userField, |
|
|
?array |
$additionalParameters |
|
) |
| |
|
static |
- Аргументы
-
array | $userField | |
array | null | $additionalParameters | |
- Возвращает
- string
См. определение в файле basetype.php строка 264
◆ getFilterHtml()
static getFilterHtml |
( |
array |
$userField, |
|
|
?array |
$additionalParameters |
|
) |
| |
|
static |
- Аргументы
-
array | $userField | |
array | null | $additionalParameters | |
- Возвращает
- string
Переопределяется в FileType.
См. определение в файле basetype.php строка 294
◆ getPublicEdit()
static getPublicEdit |
( |
array |
$userField, |
|
|
?array |
$additionalParameters = [] |
|
) |
| |
|
static |
- Аргументы
-
array | $userField | |
array | null | $additionalParameters | |
- Возвращает
- string
См. определение в файле basetype.php строка 254
◆ getPublicText()
static getPublicText |
( |
array |
$userField | ) |
|
|
static |
◆ getPublicView()
static getPublicView |
( |
array |
$userField, |
|
|
?array |
$additionalParameters = [] |
|
) |
| |
|
static |
- Аргументы
-
array | $userField | |
array | null | $additionalParameters | |
- Возвращает
- string
См. определение в файле basetype.php строка 244
◆ getSettingsHtml()
static getSettingsHtml |
( |
|
$userField, |
|
|
?array |
$additionalParameters, |
|
|
|
$varsFromForm |
|
) |
| |
|
static |
- Аргументы
-
array | bool | $userField | |
array | null | $additionalParameters | |
| $varsFromForm | |
- Возвращает
- string
См. определение в файле basetype.php строка 234
◆ getUserTypeDescription()
static getUserTypeDescription |
( |
| ) |
|
|
static |
◆ isMandatorySupported()
static isMandatorySupported |
( |
| ) |
|
|
static |
◆ isMultiplicitySupported()
static isMultiplicitySupported |
( |
| ) |
|
|
static |
◆ renderAdminListEdit()
static renderAdminListEdit |
( |
array |
$userField, |
|
|
?array |
$additionalParameters |
|
) |
| |
|
static |
This function is called when the property value is displayed in the list of items in edit mode.
Returns html to embed in a table cell. $AdditionalParameters elements are converted to html safe mode.
- Аргументы
-
array | $userField | An array describing the field. |
array | $additionalParameters | An array of controls from the form. Contains the elements NAME and VALUE. |
- Возвращает
- string HTML
Переопределяется в EnumType.
См. определение в файле basetype.php строка 161
◆ renderAdminListView()
static renderAdminListView |
( |
array |
$userField, |
|
|
?array |
$additionalParameters |
|
) |
| |
|
static |
This function is called when the property value is displayed in the list of elements.
Returns html to embed in a table cell. $AdditionalParameters elements are converted to html safe mode.
- Аргументы
-
array | $userField | An array describing the field. |
array | $additionalParameters | An array of controls from the form. Contains the elements NAME and VALUE. |
- Возвращает
- string HTML
Переопределяется в EnumType.
См. определение в файле basetype.php строка 146
◆ renderEdit()
static renderEdit |
( |
array |
$userField, |
|
|
?array |
$additionalParameters = [] |
|
) |
| |
|
static |
This function is called when editing property values in the public part of the site.
Returns html. If the class does not provide such a function, then the type manager will call the component specified in the property metadata or system bitrix: system.field.edit
- Аргументы
-
array | $userField | An array describing the field. |
array | $additionalParameters | Additional parameters (e.g. context). |
- Возвращает
- string HTML .
Переопределяется в EnumType.
См. определение в файле basetype.php строка 95
◆ renderEditForm()
static renderEditForm |
( |
array |
$userField, |
|
|
?array |
$additionalParameters |
|
) |
| |
|
static |
This function is called when the form for editing the property value is displayed, for example, here /bitrix/admin/iblock_section_edit.php
Returns html for embedding in a table cell in the entity editing form (on the "Advanced Properties" tab).
- Аргументы
-
array | $userField | An array describing the field.. |
array | $additionalParameters | An array of controls from the form. Contains the elements NAME and VALUE. |
- Возвращает
- string
Переопределяется в EnumType.
См. определение в файле basetype.php строка 129
◆ renderField()
static renderField |
( |
array |
$userField, |
|
|
?array |
$additionalParameters = [] |
|
) |
| |
|
static |
- Аргументы
-
array | $userField | |
array | null | $additionalParameters | |
- Возвращает
- string
Переопределяется в EnumType.
См. определение в файле basetype.php строка 61
◆ renderFilter()
static renderFilter |
( |
array |
$userField, |
|
|
?array |
$additionalParameters |
|
) |
| |
|
static |
This function is called when the filter is displayed on the list page.
Returns html to embed in a table cell. $additionalParameters elements are html safe.
- Аргументы
-
array | $userField | An array describing the field. |
array | $additionalParameters | An array of controls from the form. Contains the elements NAME and VALUE. |
- Возвращает
- string
Переопределяется в EnumType.
См. определение в файле basetype.php строка 177
◆ renderSettings()
static renderSettings |
( |
|
$userField, |
|
|
?array |
$additionalParameters, |
|
|
|
$varsFromForm |
|
) |
| |
|
static |
This function is called when the property settings form is displayed.
Returns html for embedding in a 2-column table in the form usertype_edit.php
- Аргументы
-
bool | array | $userField | An array describing the field. For a new (not yet added field - false) |
array | $additionalParameters | Array of advanced parameters |
bool | $bVarsFromForm | |
- Возвращает
- string HTML
См. определение в файле basetype.php строка 111
◆ renderText()
static renderText |
( |
array |
$userField | ) |
|
|
static |
◆ renderView()
static renderView |
( |
array |
$userField, |
|
|
?array |
$additionalParameters = [] |
|
) |
| |
|
static |
This function is called when the property values are displayed in the public part of the site.
Returns html. If the class does not provide such a function, then the type manager will call the component specified in the property metadata or system bitrix: system.field.view
- Аргументы
-
array | $userField | An array describing the field. |
array | $additionalParameters | Additional parameters (e.g. context). |
- Возвращает
- string
Переопределяется в EnumType.
См. определение в файле basetype.php строка 78
◆ MODE_EDIT
const MODE_EDIT = 'main.edit' |
◆ MODE_VIEW
const MODE_VIEW = 'main.view' |
◆ RENDER_COMPONENT
const RENDER_COMPONENT = null |
|
protected |
◆ USER_TYPE_ID
const USER_TYPE_ID = null |
|
protected |