public function get_html() { if (!$this->hidden) { $attributes = $this->attributes; $this->set_standard_attributes($attributes); return '<select ' . static::get_attributes($attributes) . '>' . $this->get_options() . '</select>' . "\n"; } else { return parent::get_html(); } }
public function __construct($title, $options = []) { parent::__construct($title, $options); }
public function __construct($title, $options = []) { parent::__construct($title, $options); $this->attributes['type'] = 'password'; }
public function __construct($title, $options = []) { parent::__construct($title, $options); $this->attributes['pattern'] = '[0-9]{2}/[0-9]{2}/[0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2}'; }
public function __construct($title, $options = []) { parent::__construct($title, $options); //$this->attributes['pattern'] = '[0-9]{2}/[0-9]{2}/[0-9]{4}'; $this->attributes['type'] = 'date'; }
public function __construct($title = '', $options = []) { parent::__construct($title, $options); $this->attributes['type'] = 'number'; }
public function __construct($title, $options = []) { parent::__construct($title, $options); $this->hidden = true; $this->attributes['type'] = 'hidden'; }
public function __construct($name, $options = []) { parent::__construct($name, $options); $this->attributes['type'] = 'email'; }
public function __construct($title, $options = []) { parent::__construct($title, $options); $this->class[] = 'picker'; }
public function __construct($title = '', $options = []) { parent::__construct($title, $options); $this->value = false; $this->attributes['type'] = 'checkbox'; }
public function __construct($name, $options) { $this->options = $options; parent::__construct($name); }