コード例 #1
0
ファイル: Checkbox.php プロジェクト: comphppuebla/easy-forms
 /**
  * Initially only the HTML attribute 'value' is set, since we do not have information of the value provided by the
  * user at this moment
  *
  * @param string $name
  * @param string $value
  */
 public function __construct($name, $value)
 {
     parent::__construct($name);
     $this->attributes['value'] = $value;
 }