コード例 #1
0
ファイル: button.php プロジェクト: klawd-prime/lean
 /**
  * @param $name  string
  * @param $label string
  */
 public function __construct($name, $label)
 {
     parent::__construct($name);
     $this->label = $label;
 }
コード例 #2
0
ファイル: combobox.php プロジェクト: klawd-prime/lean
 /**
  * @param string $name
  * @param string $title
  * @param array  $options
  */
 public function __construct($name, $title, array $options)
 {
     parent::__construct($name, $title);
     $this->options = $options;
 }
コード例 #3
0
ファイル: submit.php プロジェクト: klawd-prime/lean
 /**
  * @param $name  string
  * @param $label string
  */
 public function __construct($name, $label = '', $title = '')
 {
     parent::__construct($name, $label);
     $this->setAttribute('title', $title);
 }
コード例 #4
0
ファイル: radio.php プロジェクト: klawd-prime/lean
 /**
  * @param       $name
  * @param array $options
  */
 public function __construct($name, $options, $label = '', $tabindex = null)
 {
     parent::__construct($name, $label);
     $this->options = $options;
     $this->tabindex = $tabindex;
 }