previousコンストラクタ HTML_QuickForm_checkbox() (Previous) (Next) HTML_QuickForm_checkbox::getText()next

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

HTML_QuickForm_checkbox::getChecked()

HTML_QuickForm_checkbox::getChecked() – チェックボックスがチェックされているかどうかを返す

Synopsis

require_once 'HTML/QuickForm/checkbox.php';

bool HTML_QuickForm_checkbox::getChecked ( )

Description

チェックボックスに "checked" 属性が設定されている場合に TRUE、 それ以外の場合に FALSE を返します。 getValue() は、このメソッドのエイリアスです。 したがって、QuickForm においてチェックボックスが保持できる値は TRUE のみです。

Throws

例外はスローされません。

See

setChecked() も参照ください。

Note

since 1.0

This function can not be called statically.

previousコンストラクタ HTML_QuickForm_checkbox() (Previous) (Next) HTML_QuickForm_checkbox::getText()next

Download Documentation Last updated: Sun, 21 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.