/** * 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 = ''; }
/** * 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'; }
/** * 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); }