示例#1
0
文件: Input.php 项目: broeser/feeld
 /**
  * Constructor
  * 
  * @param string $type text, url, number, email, image, submit, date, search, etc.
  */
 public function __construct($type)
 {
     parent::__construct('input');
     $this->setAttribute('type', $type);
 }
示例#2
0
文件: Form.php 项目: broeser/feeld
 /**
  * Constructor
  */
 public function __construct($method = 'post')
 {
     parent::__construct('form');
     $this->setAttribute('method', $method);
 }
示例#3
0
文件: Button.php 项目: broeser/feeld
 /**
  * Constructor
  */
 public function __construct($type = 'submit')
 {
     parent::__construct('button');
     $this->setAttribute('type', $type);
 }
示例#4
0
文件: Select.php 项目: broeser/feeld
 public function __construct()
 {
     parent::__construct('select');
 }
示例#5
0
 public function __construct()
 {
     parent::__construct('textarea');
 }