HTML_QuickForm_advcheckbox::setValues()

HTML_QuickForm_advcheckbox::setValues()

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

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.