| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 327 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
HTML_QuickForm_Renderer_Array:: (12 methods):
__construct()
HTML_QuickForm_Renderer_Array()
toArray()
startForm()
renderHeader()
renderElement()
renderHidden()
startGroup()
finishGroup()
_elementToArray()
_storeArray()
setElementStyle()
Class: HTML_QuickForm_Renderer_Array - X-Ref
A concrete renderer for HTML_QuickForm, makes an array of form contents| __construct($collectHidden = false, $staticLabels = false) X-Ref |
| Constructor param: bool true: collect all hidden elements into string; false: process them as usual form elements param: bool true: render an array of labels to many labels, $key 0 to 'label' and the oterh to "label_$key" |
| HTML_QuickForm_Renderer_Array($collectHidden = false, $staticLabels = false) X-Ref |
| Old syntax of class constructor. Deprecated in PHP7. |
| toArray() X-Ref |
| Returns the resultant array return: array |
| startForm(&$form) X-Ref |
| No description |
| renderHeader(&$header) X-Ref |
| No description |
| renderElement(&$element, $required, $error) X-Ref |
| No description |
| renderHidden(&$element) X-Ref |
| No description |
| startGroup(&$group, $required, $error) X-Ref |
| No description |
| finishGroup(&$group) X-Ref |
| No description |
| _elementToArray(&$element, $required, $error) X-Ref |
| Creates an array representing an element param: object An HTML_QuickForm_element object param: bool Whether an element is required param: string Error associated with the element return: array |
| _storeArray($elAry) X-Ref |
| Stores an array representation of an element in the form array param: array Array representation of an element return: void |
| setElementStyle($elementName, $styleName = null) X-Ref |
| Sets a style to use for element rendering param: mixed element name or array ('element name' => 'style name') param: string style name if $elementName is not an array return: void |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |