Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс UrlPreviewUserType

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

static getUserTypeDescription ()
 
static getDBColumnType ($userField)
 
static prepareSettings ($userField)
 
static getSettingsHTML ($userField, $htmlControl, $varsFromForm)
 
static getEditFormHTML ($userField, $htmlControl)
 
static getFilterHTML ($userField, $htmlControl)
 
static getAdminListViewHTML ($userField, $htmlControl)
 
static getAdminListEditHTML ($userField, $htmlControl)
 
static getAdminListEditHTMLMulty ($userField, $htmlControl)
 
static getPublicViewHTML ($userField, $id, $params="", $settings=array())
 
static checkfields ($userField, $value)
 
static onBeforeSave ($userField, $value)
 

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

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

Методы

◆ checkfields()

static checkfields ( $userField,
$value )
static

Checks for current user's access to $value.

Аргументы
array$userFieldArray containing parameters of the user field.
int$value
Возвращает
array

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

◆ getAdminListEditHTML()

static getAdminListEditHTML ( $userField,
$htmlControl )
static
Аргументы
array$userFieldArray containing parameters of the user field.
array$htmlControl
Возвращает
string

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

◆ getAdminListEditHTMLMulty()

static getAdminListEditHTMLMulty ( $userField,
$htmlControl )
static
Аргументы
array$userFieldArray containing parameters of the user field.
array$htmlControl
Возвращает
string

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

◆ getAdminListViewHTML()

static getAdminListViewHTML ( $userField,
$htmlControl )
static
Аргументы
array$userFieldArray containing parameters of the user field.
array$htmlControl
Возвращает
string

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

◆ getDBColumnType()

static getDBColumnType ( $userField)
static

Return internal type for storing url_preview user type values

Аргументы
array$userFieldArray containing parameters of the user field.
Возвращает
string

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

◆ getEditFormHTML()

static getEditFormHTML ( $userField,
$htmlControl )
static
Аргументы
array$userFieldArray containing parameters of the user field.
array$htmlControl
Возвращает
string

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

◆ getFilterHTML()

static getFilterHTML ( $userField,
$htmlControl )
static
Аргументы
array$userFieldArray containing parameters of the user field.
array$htmlControl
Возвращает
string

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

◆ getPublicViewHTML()

static getPublicViewHTML ( $userField,
$id,
$params = "",
$settings = array() )
static
Аргументы
array$userFieldArray containing parameters of the user field.
array$params
array$setting
Возвращает
string

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

◆ getSettingsHTML()

static getSettingsHTML ( $userField,
$htmlControl,
$varsFromForm )
static
Аргументы
array$userFieldArray containing parameters of the user field.
$htmlControl
$varsFromForm
Возвращает
string

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

◆ getUserTypeDescription()

static getUserTypeDescription ( )
static

Returns url_preview user type description

Возвращает
array

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

◆ onBeforeSave()

static onBeforeSave ( $userField,
$value )
static

Hook executed before saving url_preview user type value. Checks and removes signature of the $value. If signature is correct, checks current user's access to $value.

Аргументы
array$userFieldArray containing parameters of the user field.
string$valueSigned value of the user field.
Возвращает
int Unsigned value of the user field, or null in case of errors.

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

◆ prepareSettings()

static prepareSettings ( $userField)
static
Аргументы
array$userField
Возвращает
array

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