Esempio n. 1
0
 /**
  * Creates a new datetime element.
  * 
  * @param array $attributes The attributes that should be assigned to the datetime element.
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     $this->type = 'datetime';
 }
Esempio n. 2
0
 /**
  * Creates a new number form element.
  * 
  * @param array $attributes The attributes that should be assigned to the number element.
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     $this->type = 'number';
 }