constructor HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array()
Вернуться к: Basic renderers
constructor HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array()
Synopsis
void HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array ( bool $collectHidden = false bool $staticLabels = false )
This package is not documented yet.
Parameter
- boolean $collectHidden
-
TRUE: collect all hidden elements into string; FALSE: process them as usual form elements
- boolean $staticLabels
-
TRUE: instead of putting an array of labels into the 'label' element of resultant array, create separate keys for them named 'label_$key' where $key is the key in the array of labels (key + 1 if it is numeric). The first element of the array occupies the 'label' element.
Throws
throws no exceptions thrown
Note
This function can not be called statically.
Вернуться к: Basic renderers