Returns form items in array form to be processed by custom display manager

category Formagic
package Renderer
author Florian Sonnenburg
copyright Copyright (c) 2007-2009 Florian Sonnenburg
version $Id: Array.php 169 2012-05-06 20:16:16Z meweasle $

 Methods

Returns array with all neccessary item information.

render(Formagic $form) : array

Parameters

$form

\Formagic

Formagic main object.

Returns

arrayThe array containing all items and errors.

Sanitizes a userland value.

_sanitize(mixed $value) : mixed

Parameters

$value

mixed

Value

Returns

mixedSanitized value

Collects item information to be put into the result array.

_assembleData(Formagic_Item_Container $container) : void

Iterates over $container and descends recursively into nested sub-containers.

Parameters

$container

\Formagic_Item_Container

Item container.

 Properties

 

Internal string cache for hidden Formagic items.

$_fmFields : string

 

True if any item's validation failed. Will be added to the result array.

$_hasErrors : boolean

 

Result array

$_result : array