HTML_QuickForm_advcheckbox::setValues()

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

概要

require_once 'HTML/QuickForm/advcheckbox.php';

void HTML_QuickForm_advcheckbox::setValues (mixed $values)

説明

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.

パラメータ

mixed $values

The values, either a string or an array

例外・エラー

throws no exceptions thrown

注意

この関数は、スタティックにコールする ことはできません。