12 parent::setValueByArray($a_values);
14 $item->setValueByArray($a_values);
24 if (substr($regex, 0, 1) !=
"/") {
25 $regex =
"/" . $regex;
27 if (substr($regex, -1) !=
"/") {
31 preg_match($regex,
'');
32 }
catch (Exception $e) {
35 $this->
setAlert(
$lng->txt(
'msg_input_does_not_match_regexp'));
41 return parent::checkInput();
An exception for terminatinating execution or to throw for unit testing.
setValueByArray($a_values)
Set value by array.
checkInput()
Check input, strip slashes etc.
This class represents a text property in a property form.