Beispiel #1
0
 public static function Factory($name, $value = '', $label = '', $required = false, $attrList = array())
 {
     $element = new InputText($name);
     $element->setValue($value);
     $element->setLabel($label);
     $element->setRequired($required);
     $element->setOptionList($attrList);
     return $element;
 }