HTML_QuickForm_advcheckbox::setValues()

HTML_QuickForm_advcheckbox::setValues() -- Sets the values used by the hidden element

Synopsis

require_once 'HTML/QuickForm/advcheckbox.php';

void HTML_QuickForm_advcheckbox::setValues (mixed $values)

Description

If $values is a string then it will be used for checked state. If it is an array, then $values[0] will be used for unchecked state and $values[1] for checked.

Parameter

mixed $values

The values, either a string or an array

Throws

throws no exceptions thrown

Note

This function can not be called statically.