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.

Array representation of the form (Previous) Sets a style to use for element rendering (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.