コード例 #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
ファイル: Textarea.php プロジェクト: broeser/feeld
 public function __construct()
 {
     parent::__construct('textarea');
 }