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