Beispiel #1
0
 /**
  * Form constructor
  *
  * @param array $fieldData Field attributes
  *
  * @access public
  * @since Method available since Release 1.0.0
  */
 public function __construct($fieldData)
 {
     parent::__construct($fieldData);
     $this->validate($this->value);
     $this->partial = "checkbox";
     $this->helper = 'html';
 }
Beispiel #2
0
 /**
  * Form constructor
  *
  * @param array $fieldData Field attributes
  *
  * @access public
  * @since Method available since Release 1.0.0
  */
 public function __construct($fieldData)
 {
     parent::__construct($fieldData);
     $this->partial = "textarea";
     $this->helper = 'html';
 }