previousconstructor HTML_QuickForm_checkbox() (Previous) (Next) HTML_QuickForm_checkbox::getText()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_QuickForm_checkbox::getChecked()

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

Synopsis

require_once 'HTML/QuickForm/checkbox.php';

bool HTML_QuickForm_checkbox::getChecked ( )

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.

previousconstructor HTML_QuickForm_checkbox() (Previous) (Next) HTML_QuickForm_checkbox::getText()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.