previousHTML_QuickForm_advcheckbox クラス概要 (Previous) (Next) HTML_QuickForm_advcheckbox::getOnclickJs()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_advcheckbox()

コンストラクタ HTML_QuickForm_advcheckbox() – クラスのコンストラクタ

Synopsis

require_once 'HTML/QuickForm/advcheckbox.php';

void constructor HTML_QuickForm_advcheckbox::HTML_QuickForm_advcheckbox ( string $elementName = = null , string $elementLabel = = null , string $text = = null , mixed $attributes = = null , mixed $values = = null )

Description

This package is not documented yet.

Parameter

string $elementName

(オプション) Input フィールドの name 属性。

string $elementLabel

(オプション) Input フィールドのラベル。

string $text

(オプション) チェックボックスの後に表示するテキスト。

mixed $attributes

(オプション) 典型的な HTML 属性の文字列あるいは連想配列。

mixed $values

(オプション) チェックされているかどうかを渡す値。

Throws

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

Note

since 1.0

This function can not be called statically.

previousHTML_QuickForm_advcheckbox クラス概要 (Previous) (Next) HTML_QuickForm_advcheckbox::getOnclickJs()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:
Note by: pierre2543@hotmail.com
The $values parameter can take either an array or a scalar.

If you pass a scalar, that will be the value you receive in case the check box is checked.

If you pass an array, you should pass something like this:
array('unchecked_value','checked_value')