PEAR Manual
Prev |  | Next

# HTML_QuickForm::toArray()

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

## Synopsis

    require_once 'HTML/QuickForm.php';

``array HTML_QuickForm::toArray` (void)`

## Description

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

## 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.

Prev | Home | Next
HTML_QuickForm::defaultRenderer() | Up | HTML_QuickForm::toHtml()