|
| static | GetList ($FIELD_ID, $arFilter=[], $by='C_SORT', $order='ASC') |
| static | GetListForm ($WEB_FORM_ID, $arFilter=[], $by='C_SORT', $order='ASC') |
| static | __getList ($arFilter=array(), $by='C_SORT', $order='ASC') |
| static | GetAllList ($arFilter=array()) |
| static | Execute ($arValidator, $arQuestion, $arAnswers, $arAnswerValues) |
| static | Set ($WEB_FORM_ID, $FIELD_ID, $sValSID, $arParams=array(), $C_SORT=100) |
| static | SetBatch ($WEB_FORM_ID, $FIELD_ID, $arValidators) |
| static | GetSettingsString ($arValidator, $arParams) |
| static | GetSettingsArray ($arValidator, $strParams) |
| static | GetSettings ($arValidator) |
| static | Clear ($FIELD_ID) |
См. определение в файле form_callformvalidator.php строка 7
◆ __getList()
| __getList |
( |
| $arFilter = array(), |
|
|
| $by = 'C_SORT', |
|
|
| $order = 'ASC' ) |
|
static |
◆ Clear()
◆ Execute()
| Execute |
( |
| $arValidator, |
|
|
| $arQuestion, |
|
|
| $arAnswers, |
|
|
| $arAnswerValues ) |
|
static |
Apply validator to value
- Аргументы
-
| string | $sValSID | |
| array | $arParams | |
| mixed | $arValue | |
- Возвращает
- bool
См. определение в файле form_callformvalidator.php строка 174
◆ GetAllList()
| GetAllList |
( |
| $arFilter = array() | ) |
|
|
static |
Get filtered list of all registered validators. Filter params: TYPE = array|string;
- Аргументы
-
- Возвращает
- false|CDBResult
См. определение в файле form_callformvalidator.php строка 114
◆ GetList()
| GetList |
( |
| $FIELD_ID, |
|
|
| $arFilter = [], |
|
|
| $by = 'C_SORT', |
|
|
| $order = 'ASC' ) |
|
static |
◆ GetListForm()
| GetListForm |
( |
| $WEB_FORM_ID, |
|
|
| $arFilter = [], |
|
|
| $by = 'C_SORT', |
|
|
| $order = 'ASC' ) |
|
static |
◆ GetSettings()
| GetSettings |
( |
| $arValidator | ) |
|
|
static |
◆ GetSettingsArray()
| GetSettingsArray |
( |
| $arValidator, |
|
|
| $strParams ) |
|
static |
◆ GetSettingsString()
| GetSettingsString |
( |
| $arValidator, |
|
|
| $arParams ) |
|
static |
◆ Set()
| Set |
( |
| $WEB_FORM_ID, |
|
|
| $FIELD_ID, |
|
|
| $sValSID, |
|
|
| $arParams = array(), |
|
|
| $C_SORT = 100 ) |
|
static |
Assign validator to the field
- Аргументы
-
| int | $WEB_FORM_ID | |
| int | $FIELD_ID | |
| string | $sValSID | |
| array | $arParams | |
- Возвращает
- int|bool
См. определение в файле form_callformvalidator.php строка 203
◆ SetBatch()
| SetBatch |
( |
| $WEB_FORM_ID, |
|
|
| $FIELD_ID, |
|
|
| $arValidators ) |
|
static |
Assign multiple validators to the field
- Аргументы
-
| int | $WEB_FORM_ID | |
| int | $FIELD_ID | |
| array | $arValidators | |
См. определение в файле form_callformvalidator.php строка 241
Объявления и описания членов класса находятся в файле: