HTML_QuickForm_checkbox::setChecked()
HTML_QuickForm_checkbox::setChecked() -- Sets whether a checkbox is checked
概要
require_once 'HTML/QuickForm/checkbox.php'; |
void HTML_QuickForm_checkbox::setChecked (bool $checked)
説明
This sets or removes the element's "checked" attribute based on $checked value. setValue() is an alias for this method.
パラメータ
- boolean
$checked
Whether the field is checked or not
例外・エラー
throws no exceptions thrown
注意
since 1.0
この関数は、スタティックにコールする
ことはできません。