Differences Between: [Versions 400 and 402] [Versions 400 and 403]
(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:: (2 methods):
__construct()
HTML_QuickForm_Renderer_Array()
name:: (10 methods):
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 return: array param: object An HTML_QuickForm_element object param: bool Whether an element is required param: string Error associated with the element |
_storeArray($elAry) X-Ref |
Stores an array representation of an element in the form array return: void param: array Array representation of an element |
setElementStyle($elementName, $styleName = null) X-Ref |
Sets a style to use for element rendering return: void param: mixed element name or array ('element name' => 'style name') param: string style name if $elementName is not an array |