Select Helper Class. More...
Inheritance diagram for axSelectHelper:Public Member Functions | |
| __construct ($name, $values=array(), $multiple=false) | |
| Constructor. | |
| setValue ($value) | |
| getValue () | |
| addOption ($name, $value) | |
| Add an option to the select. | |
| addOptions ($array) | |
| Add multiple options at once. | |
Static Public Member Functions | |
| static | export ($name, $values=array(), $multiple=false) |
| Constructor static alias. | |
Select Helper Class.
Definition at line 16 of file axSelectHelper.class.php.
| axSelectHelper::__construct | ( | $ | name, |
| $ | values = array(), |
||
| $ | multiple = false |
||
| ) |
Constructor.
| string | $name | |
| array | $values | [optional] [default array()] |
| boolean | $multiple | [optional] [default false] |
Reimplemented from axBaseHelper.
Definition at line 24 of file axSelectHelper.class.php.
| axSelectHelper::addOption | ( | $ | name, |
| $ | value | ||
| ) |
Add an option to the select.
| strign | $name | |
| scalar | $value |
Definition at line 65 of file axSelectHelper.class.php.
| axSelectHelper::addOptions | ( | $ | array | ) |
Add multiple options at once.
| array | $values |
Definition at line 76 of file axSelectHelper.class.php.
| static axSelectHelper::export | ( | $ | name, |
| $ | values = array(), |
||
| $ | multiple = false |
||
| ) | [static] |
Constructor static alias.
Constructor.
| string | $name | |
| array | $values | [optional] [default array()] |
| boolean | $multiple | [optional] [default false] |
Definition at line 89 of file axSelectHelper.class.php.
Get the node's value (if any)
Reimplemented from axBaseHelper.
Definition at line 56 of file axSelectHelper.class.php.
| axSelectHelper::setValue | ( | $ | value | ) |
Set the node's value.
| mixed | $value |
Reimplemented from axBaseHelper.
Definition at line 38 of file axSelectHelper.class.php.