Exemple #1
0
 public function __construct($title, $options = [])
 {
     parent::__construct($title, $options);
 }
 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['type'] = 'password';
 }
Exemple #4
0
 public function __construct($title = '', $options = [])
 {
     parent::__construct($title, $options);
     $this->attributes['type'] = 'number';
 }
Exemple #5
0
 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';
 }
Exemple #6
0
 public function __construct($title, $options = [])
 {
     parent::__construct($title, $options);
     $this->hidden = true;
     $this->attributes['type'] = 'hidden';
 }
Exemple #7
0
 public function __construct($name, $options = [])
 {
     parent::__construct($name, $options);
     $this->attributes['type'] = 'email';
 }
Exemple #8
0
 public function __construct($title, $options = [])
 {
     parent::__construct($title, $options);
     $this->class[] = 'picker';
 }
Exemple #9
0
 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);
 }