HTML_QuickForm_checkbox::getChecked()
HTML_QuickForm_checkbox::getChecked() -- Returns whether a checkbox is checked
概要
require_once 'HTML/QuickForm/checkbox.php'; |
bool HTML_QuickForm_checkbox::getChecked ()
説明
Returns TRUE if checkbox has a "checked" attribute, FALSE otherwise. getValue() is an alias for this method. Thus the only value checkbox element can have in QuickForm is TRUE.
例外・エラー
throws no exceptions thrown
注意
since 1.0
この関数は、スタティックにコールする
ことはできません。