◆ __construct()
__construct |
( |
|
$caption, |
|
|
|
$name, |
|
|
|
$value = null , |
|
|
|
$delimeter = ' ' |
|
) |
| |
Constructor
- Paramètres
-
string | $caption | |
string | $name | |
mixed | $value | Either one value as a string or an array of them. |
string | $delimeter | |
◆ addOption()
addOption |
( |
|
$value, |
|
|
|
$name = '' |
|
) |
| |
◆ addOptionArray()
addOptionArray |
( |
|
$options | ) |
|
Add multiple Options at once
- Paramètres
-
array | $options | Associative array of value->name pairs |
◆ getDelimeter()
getDelimeter |
( |
|
$encode = false | ) |
|
Get the delimiter of this group
- Paramètres
-
bool | $encode | To sanitizer the text? |
- Renvoie
- string The delimiter
◆ getOptions()
getOptions |
( |
|
$encode = false | ) |
|
Get an array with all the options
- Paramètres
-
bool | int | $encode | To sanitizer the text? potential values: 0 - skip; 1 - only for value; 2 - for both value and name |
- Renvoie
- array Associative array of value->name pairs
◆ getValue()
getValue |
( |
|
$encode = false | ) |
|
Get the "value"
- Paramètres
-
bool | $encode | To sanitizer the text? |
- Renvoie
- array
◆ render()
prepare HTML for output
- Renvoie
- string
Réimplémentée à partir de XoopsFormElement.
◆ renderValidationJS()
◆ setValue()
Set the "value"
- Paramètres
-
◆ $_delimeter
◆ $_options
◆ $_value
◆ $columns
La documentation de cette classe a été générée à partir du fichier suivant :