Exemplo n.º 1
0
 /**
  * Creates a new select form element.
  * 
  * @param array $attributes The attributes that should be assigned to the select element.
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     //if( is_null(fe_select::$shareEmptyValue) ) fe_select::$shareEmptyValue = get::rand_string(8);
     //$this->emptyValue = fe_select::$shareEmptyValue;
     $this->emptyValue = '';
 }
Exemplo n.º 2
0
 /**
  * Creates a new form element.
  * 
  * @param array $attributes The attributes that should be assigned to the input element.
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
     $this->type = 'button';
 }
Exemplo n.º 3
0
 /**
  * Creates a new textarea form element.
  * 
  * @param array $attributes The attributes that should be assigned to the textarea element.
  */
 public function __construct(array $attributes)
 {
     parent::__construct($attributes);
 }