Definition at line 25 of file formcheckbox.php.
| XoopsFormCheckBox::addOption |
( |
|
$value, |
|
|
|
$name = '' |
|
) |
| |
| XoopsFormCheckBox::addOptionArray |
( |
|
$options | ) |
|
Add multiple Options at once
- Parameters
-
| array | $options | Associative array of value->name pairs |
Definition at line 132 of file formcheckbox.php.
References $options.
| XoopsFormCheckBox::getDelimeter |
( |
|
$encode = false | ) |
|
Get the delimiter of this group
- Parameters
-
| bool | $encode | To sanitizer the text? |
- Returns
- string The delimiter
Definition at line 165 of file formcheckbox.php.
| XoopsFormCheckBox::getOptions |
( |
|
$encode = false | ) |
|
Get an array with all the options
- Parameters
-
| int | $encode | To sanitizer the text? potential values: 0 - skip; 1 - only for value; 2 - for both value and name |
- Returns
- array Associative array of value->name pairs
Definition at line 147 of file formcheckbox.php.
| XoopsFormCheckBox::getValue |
( |
|
$encode = false | ) |
|
Get the "value"
- Parameters
-
| bool | $encode | To sanitizer the text? |
- Returns
- array
Definition at line 83 of file formcheckbox.php.
| XoopsFormCheckBox::render |
( |
| ) |
|
| XoopsFormCheckBox::renderValidationJS |
( |
| ) |
|
| XoopsFormCheckBox::setValue |
( |
|
$value | ) |
|
| XoopsFormCheckBox::XoopsFormCheckBox |
( |
|
$caption, |
|
|
|
$name, |
|
|
|
$value = null, |
|
|
|
$delimeter = ' ' |
|
) |
| |
Constructor
- Parameters
-
| string | $caption | |
| string | $name | |
| mixed | $value | Either one value as a string or an array of them. |
Definition at line 66 of file formcheckbox.php.
| XoopsFormCheckBox::$_delimeter |
| XoopsFormCheckBox::$_options = array() |
| XoopsFormCheckBox::$_value = array() |
| XoopsFormCheckBox::$columns |
The documentation for this class was generated from the following file: