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.

Gets the private name for the element (Previous) HTML class for a text field with autocompletion feature (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.