|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| HTML_QuickForm_hiddenselect ($elementName=null, $elementLabel=null, $options=null, $attributes=null) | |
| toHtml () | |
| accept (&$renderer) | |
This class takes the same arguments as a select element, but instead of creating a select ring it creates hidden elements for all values already selected with setDefault or setConstant. This is useful if you have a select ring that you don't want visible, but you need all selected values to be passed.
Definition at line 37 of file hiddenselect.php.
| accept | ( | &$ | renderer | ) |
This is essentially a hidden element and should be rendered as one
Definition at line 100 of file hiddenselect.php.
| HTML_QuickForm_hiddenselect | ( | $ | elementName = null, |
| $ | elementLabel = null, |
||
| $ | options = null, |
||
| $ | attributes = null |
||
| ) |
Class constructor
| string | Select name attribute |
| mixed | Label(s) for the select (not used) |
| mixed | Data to be used to populate options |
| mixed | Either a typical HTML attribute string or an associative array (not used) |
Definition at line 52 of file hiddenselect.php.

| toHtml | ( | ) |
Returns the SELECT in HTML
Reimplemented from HTML_QuickForm_select.
Definition at line 73 of file hiddenselect.php.
