PEAR Manual
Prev |  | Next

# constructor HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array()

constructor HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array() -- Constructor

## Synopsis

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

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

## Description

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.

Prev | Home | Next
HTML_QuickForm_Renderer_Array | Up | HTML_QuickForm_Renderer_Array::setElementStyle()