Class Summary HTML_QuickForm_advcheckbox (Previous) (Next) HTML_QuickForm_advcheckbox::getOnclickJs()

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

constructor HTML_QuickForm_advcheckbox()

constructor HTML_QuickForm_advcheckbox() -- Class constructor

Descripción

Este paquete no está documentado todavía.

Parámetro

string $elementName

(optional)Input field name attribute

string $elementLabel

(optional)Input field label

string $text

(optional)Text to put after the checkbox

mixed $attributes

(optional)Either a typical HTML attribute string or an associative array

mixed $values

(optional)Values to pass if checked or not checked

Lanza

throws no exceptions thrown

Nota

since 1.0

Esta función no puede ser llamada estáticamente.

Class Summary HTML_QuickForm_advcheckbox (Previous) (Next) HTML_QuickForm_advcheckbox::getOnclickJs()

Download Documentation Last updated: Sun, 01 Jul 2007
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')