13 parent::setValueByArray($a_values);
15 $item->setValueByArray($a_values);
25 if (substr($regex, 0, 1) !=
"/") {
26 $regex =
"/" . $regex;
28 if (substr($regex, -1) !=
"/") {
32 preg_match($regex,
'');
33 }
catch (Exception $e) {
36 $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.