JavaScript Editor Javascript validator     Web page editor 

constructor HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array()

constructor HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array() -- Constructor


require_once 'HTML/QuickForm/Renderer/Array.php';

void HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array ([bool $collectHidden = FALSE bool $staticLabels = FALSE]])


This package is not documented yet.


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 no exceptions thrown


This function can not be called statically.

JavaScript Editor Javascript validator     Web page editor