Helping ordinary people create extraordinary websites!


HTML_QuickForm_checkbox::getChecked()

HTML_QuickForm_checkbox::getChecked() -- Returns whether a checkbox is checked

Description

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

throws no exceptions thrown

See

see setChecked().

Note

since 1.0

This function can not be called statically.