Beispiel #1
0
 public function __construct($name, $caption, $value = NULL)
 {
     parent::__construct($name, $caption, 1);
     $this->input->type = 'checkbox';
     if ($value) {
         $this->input->checked = "checked";
     }
 }
Beispiel #2
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->attrs['type'] = 'text';
     $this->autocomplete = true;
 }
Beispiel #3
0
 public function __construct($name, $value = NULL)
 {
     parent::__construct($name, '', $value);
     $this->input->type = 'hidden';
 }
Beispiel #4
0
 public function __construct($name, $caption, $value = NULL)
 {
     parent::__construct($name, $caption, $value);
     $this->input->type = 'text';
 }