コード例 #1
0
 function __construct($name, $value, $checked)
 {
     parent::__construct('radio', $name, $value);
     if ($checked == true) {
         $this->attributes['checked'] = 'checked';
     }
 }
コード例 #2
0
 function __construct($name, $value, $type = 'text')
 {
     parent::__construct($type, $name, $value);
 }
コード例 #3
0
 function __construct($name, $value)
 {
     parent::__construct('hidden', $name, $value);
 }
コード例 #4
0
ファイル: Button.php プロジェクト: splitice/radical-web-form
 function __construct($value = '', $type = 'button')
 {
     parent::__construct($type, null, $value);
 }