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