예제 #1
0
파일: select.php 프로젝트: Borvik/Munla
 /**
  * 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 = '';
 }
예제 #2
0
파일: button.php 프로젝트: Borvik/Munla
 /**
  * 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';
 }
예제 #3
0
파일: textarea.php 프로젝트: Borvik/Munla
 /**
  * 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);
 }