예제 #1
0
파일: Submit.php 프로젝트: rezon/sugi
 public function __construct($name, $label)
 {
     parent::__construct($name, false);
     $this->label = false;
     $this->setAttribute("value", $label);
     $this->setAttribute("type", "submit");
 }
예제 #2
0
파일: Checkbox.php 프로젝트: rezon/sugi
 public function __construct($name, $label, $value = true)
 {
     parent::__construct($name, $label);
     $this->val = $value;
     $this->setAttribute("value", $value);
     $this->setAttribute("type", "checkbox");
 }
예제 #3
0
파일: Upload.php 프로젝트: rezon/sugi
 public function __construct($name, $label)
 {
     parent::__construct($name, $label);
     $this->setAttribute("type", "file");
 }