previousHTML_QuickForm::defaultRenderer() (Previous) (Next) HTML_QuickForm::toHtml()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_QuickForm::toArray()

HTML_QuickForm::toArray() – Returns the form's contents in an array

Synopsis

require_once 'HTML/QuickForm.php';

array HTML_QuickForm::toArray ( boolean $collectHidden = false )

Description

Returns the form's contents in an array, uses Array renderer for this.

Parameter

boolean $collectHidden

Whether to collect hidden elements (passed to the Renderer's constructor)

Return value

return array of form contents, structure is described in renderer documentation.

Throws

throws no exceptions thrown

Note

since 2.0

This function can not be called statically.

previousHTML_QuickForm::defaultRenderer() (Previous) (Next) HTML_QuickForm::toHtml()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.