Пример #1
0
 public function __construct($title, $options = [])
 {
     parent::__construct($title, $options);
 }
Пример #2
0
 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}';
 }
Пример #3
0
 public function __construct($title, $options = [])
 {
     parent::__construct($title, $options);
     $this->attributes['type'] = 'password';
 }
Пример #4
0
 public function __construct($title = '', $options = [])
 {
     parent::__construct($title, $options);
     $this->attributes['type'] = 'number';
 }
Пример #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';
 }
Пример #6
0
 public function __construct($title, $options = [])
 {
     parent::__construct($title, $options);
     $this->hidden = true;
     $this->attributes['type'] = 'hidden';
 }
Пример #7
0
 public function __construct($name, $options = [])
 {
     parent::__construct($name, $options);
     $this->attributes['type'] = 'email';
 }
Пример #8
0
 public function __construct($title, $options = [])
 {
     parent::__construct($title, $options);
     $this->class[] = 'picker';
 }
Пример #9
0
 public function __construct($title = '', $options = [])
 {
     parent::__construct($title, $options);
     $this->value = false;
     $this->attributes['type'] = 'checkbox';
 }
Пример #10
0
 public function __construct($name, $options)
 {
     $this->options = $options;
     parent::__construct($name);
 }