Bitrix Site Manager

CFormValidator::GetSettingsArray

array
CFormValidator::GetSettingsArray(
 array arValidator,
 string strParams
)

The method GetSettingsArray returns validator settings as a list of values converted from strings fetched from the database. The method is similar to calling the validator conversion routine (CONVERT_FROM_DB) directly. CFormValidator::GetList and CFormValidator::GetListForm call this method automatically.

Parameters

Parameter Description
arValidator An array describing the validator (obtained, for instance, by calling CFormValidators::GetList).
strParams A string with the settings stored in the database.