3require_once(
'./Services/Form/classes/class.ilTextInputGUI.php');
 
   15        parent::setValueByArray($a_values);
 
   17            $item->setValueByArray($a_values);
 
   27                        if (substr($regex, 0, 1) != 
"/") {
 
   28                                $regex = 
"/" . $regex;
 
   30                        if (substr($regex, - 1) != 
"/") {
 
   34                                preg_match($regex, 
'');
 
   35                        } 
catch (Exception $e) {
 
   37                                $this->
setAlert($lng->txt(
'msg_input_does_not_match_regexp'));
 
   42                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.