Documentation

GetSettingsString

string
CFormValidator::GetSettingsString(
 array arValidator,
 array arParams
)

The method GetSettingsString returns a list of validator settings values sutable for enrolling in the database. The method is similar to calling the validator settings conversion routine (CONVERT_TO_DB) directly. It is called automatically when CFormValidator::Set and CFormValidator::SetBatch are called.

Parameters

Parameter Description
arValidator An array describing the validator (obtained, for instance, by calling CFormValidators::GetList).
arParams An array of validator settings.
© «Bitrix24», 2001-2024
Up