Dojo/Form/SubForm.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Dojo
- Subpackage
- Form
\Zend_Dojo_Form_SubForm
Dijit-enabled SubForm
- Parent(s)
- \Zend_Form_SubForm < \Zend_Form
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\Zend_Form_SubForm
- Version
- $Id: SubForm.php 24593 2012-01-05 20:35:02Z matthew $
Constants
DECORATOR
= 'DECORATOR'
- Inherited_from
- \Zend_Form::DECORATOR
- Inherited_from
- \Zend_Form_SubForm::DECORATOR
METHOD_DELETE
= 'delete'
- Inherited_from
- \Zend_Form::METHOD_DELETE
- Inherited_from
- \Zend_Form_SubForm::METHOD_DELETE
METHOD_GET
= 'get'
- Inherited_from
- \Zend_Form::METHOD_GET
- Inherited_from
- \Zend_Form_SubForm::METHOD_GET
METHOD_POST
= 'post'
- Inherited_from
- \Zend_Form::METHOD_POST
- Inherited_from
- \Zend_Form_SubForm::METHOD_POST
METHOD_PUT
= 'put'
- Inherited_from
- \Zend_Form::METHOD_PUT
- Inherited_from
- \Zend_Form_SubForm::METHOD_PUT
ENCTYPE_URLENCODED
= 'application/x-www-form-urlencoded'
- Inherited_from
- \Zend_Form::ENCTYPE_URLENCODED
- Inherited_from
- \Zend_Form_SubForm::ENCTYPE_URLENCODED
ENCTYPE_MULTIPART
= 'multipart/form-data'
- Inherited_from
- \Zend_Form::ENCTYPE_MULTIPART
- Inherited_from
- \Zend_Form_SubForm::ENCTYPE_MULTIPART
Properties

array $_attribs = array()Form metadata and attributes
Inherited from: \Zend_Form::$$_attribs\Zend_Form_SubForm::$$_attribsarray()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_attribs
- Inherited_from
- \Zend_Form_SubForm::$$_attribs

array $_decorators = array()Decorators for rendering
Inherited from: \Zend_Form::$$_decorators\Zend_Form_SubForm::$$_decoratorsarray()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_decorators
- Inherited_from
- \Zend_Form_SubForm::$$_decorators

string $_defaultDisplayGroupClass = 'Zend_Form_DisplayGroup'Default display group class
Inherited from: \Zend_Form::$$_defaultDisplayGroupClass\Zend_Form_SubForm::$$_defaultDisplayGroupClass'Zend_Form_DisplayGroup'Details- Type
- string
- Inherited_from
- \Zend_Form::$$_defaultDisplayGroupClass
- Inherited_from
- \Zend_Form_SubForm::$$_defaultDisplayGroupClass

string $_description = Form description
Inherited from: \Zend_Form::$$_description\Zend_Form_SubForm::$$_description- Type
- string
- Inherited_from
- \Zend_Form::$$_description
- Inherited_from
- \Zend_Form_SubForm::$$_description

bool $_disableLoadDefaultDecorators = falseShould we disable loading the default decorators?
Inherited from: \Zend_Form::$$_disableLoadDefaultDecorators\Zend_Form_SubForm::$$_disableLoadDefaultDecoratorsfalseDetails- Type
- bool
- Inherited_from
- \Zend_Form::$$_disableLoadDefaultDecorators
- Inherited_from
- \Zend_Form_SubForm::$$_disableLoadDefaultDecorators

array $_displayGroupPrefixPaths = array()Display group prefix paths
Inherited from: \Zend_Form::$$_displayGroupPrefixPaths\Zend_Form_SubForm::$$_displayGroupPrefixPathsarray()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_displayGroupPrefixPaths
- Inherited_from
- \Zend_Form_SubForm::$$_displayGroupPrefixPaths

array $_displayGroups = array()Groups of elements grouped for display purposes
Inherited from: \Zend_Form::$$_displayGroups\Zend_Form_SubForm::$$_displayGroupsarray()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_displayGroups
- Inherited_from
- \Zend_Form_SubForm::$$_displayGroups

bool $_dojoViewPathRegistered = falseHas the dojo view helper path been registered?
falseDetails- Type
- bool

null|array $_elementDecorators = Global decorators to apply to all elements
Inherited from: \Zend_Form::$$_elementDecorators\Zend_Form_SubForm::$$_elementDecorators- Type
- null | array
- Inherited_from
- \Zend_Form::$$_elementDecorators
- Inherited_from
- \Zend_Form_SubForm::$$_elementDecorators

array $_elementPrefixPaths = array()Prefix paths to use when creating elements
Inherited from: \Zend_Form::$$_elementPrefixPaths\Zend_Form_SubForm::$$_elementPrefixPathsarray()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_elementPrefixPaths
- Inherited_from
- \Zend_Form_SubForm::$$_elementPrefixPaths

array $_elements = array()
array()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_elements
- Inherited_from
- \Zend_Form_SubForm::$$_elements

string $_elementsBelongTo = Array to which elements belong (if any)
Inherited from: \Zend_Form::$$_elementsBelongTo\Zend_Form_SubForm::$$_elementsBelongTo- Type
- string
- Inherited_from
- \Zend_Form::$$_elementsBelongTo
- Inherited_from
- \Zend_Form_SubForm::$$_elementsBelongTo

array $_errorMessages = array()Custom form-level error messages
Inherited from: \Zend_Form::$$_errorMessages\Zend_Form_SubForm::$$_errorMessagesarray()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_errorMessages
- Inherited_from
- \Zend_Form_SubForm::$$_errorMessages

bool $_errorsExist = falseAre there errors in the form?
Inherited from: \Zend_Form::$$_errorsExist\Zend_Form_SubForm::$$_errorsExistfalseDetails- Type
- bool
- Inherited_from
- \Zend_Form::$$_errorsExist
- Inherited_from
- \Zend_Form_SubForm::$$_errorsExist

bool $_errorsForced = falseHas the form been manually flagged as an error?
Inherited from: \Zend_Form::$$_errorsForced\Zend_Form_SubForm::$$_errorsForcedfalseDetails- Type
- bool
- Inherited_from
- \Zend_Form::$$_errorsForced
- Inherited_from
- \Zend_Form_SubForm::$$_errorsForced

int|null $_formOrder =
- Type
- int | null
- Inherited_from
- \Zend_Form::$$_formOrder
- Inherited_from
- \Zend_Form_SubForm::$$_formOrder

bool $_isArray = trueWhether or not form elements are members of an array
Inherited from: \Zend_Form_SubForm::$$_isArraytrueDetails- Type
- bool
- Inherited_from
- \Zend_Form_SubForm::$$_isArray

bool $_isRendered = false
falseDetails- Type
- bool
- Inherited_from
- \Zend_Form::$$_isRendered
- Inherited_from
- \Zend_Form_SubForm::$$_isRendered

string $_legend =
- Type
- string
- Inherited_from
- \Zend_Form::$$_legend
- Inherited_from
- \Zend_Form_SubForm::$$_legend

array $_loaders = array()
array()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_loaders
- Inherited_from
- \Zend_Form_SubForm::$$_loaders

array $_methods = array('delete', 'get', 'post', 'put')
array('delete', 'get', 'post', 'put')Details- Type
- array
- Inherited_from
- \Zend_Form::$$_methods
- Inherited_from
- \Zend_Form_SubForm::$$_methods

array $_order = array()Order in which to display and iterate elements
Inherited from: \Zend_Form::$$_order\Zend_Form_SubForm::$$_orderarray()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_order
- Inherited_from
- \Zend_Form_SubForm::$$_order

bool $_orderUpdated = falseWhether internal order has been updated or not
Inherited from: \Zend_Form::$$_orderUpdated\Zend_Form_SubForm::$$_orderUpdatedfalseDetails- Type
- bool
- Inherited_from
- \Zend_Form::$$_orderUpdated
- Inherited_from
- \Zend_Form_SubForm::$$_orderUpdated

array $_subFormPrefixPaths = array()Sub form prefix paths
Inherited from: \Zend_Form::$$_subFormPrefixPaths\Zend_Form_SubForm::$$_subFormPrefixPathsarray()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_subFormPrefixPaths
- Inherited_from
- \Zend_Form_SubForm::$$_subFormPrefixPaths

array $_subForms = array()
array()Details- Type
- array
- Inherited_from
- \Zend_Form::$$_subForms
- Inherited_from
- \Zend_Form_SubForm::$$_subForms

\Zend_Translate $_translator =
- Type
- \Zend_Translate
- Inherited_from
- \Zend_Form::$$_translator
- Inherited_from
- \Zend_Form_SubForm::$$_translator

\Zend_Translate $_translatorDefault = Global default translation adapter
Inherited from: \Zend_Form::$$_translatorDefault\Zend_Form_SubForm::$$_translatorDefault- Type
- \Zend_Translate
- Inherited_from
- \Zend_Form::$$_translatorDefault
- Inherited_from
- \Zend_Form_SubForm::$$_translatorDefault

bool $_translatorDisabled = falseis the translator disabled?
Inherited from: \Zend_Form::$$_translatorDisabled\Zend_Form_SubForm::$$_translatorDisabledfalseDetails- Type
- bool
- Inherited_from
- \Zend_Form::$$_translatorDisabled
- Inherited_from
- \Zend_Form_SubForm::$$_translatorDisabled

\Zend_View_Interface $_view =
- Type
- \Zend_View_Interface
- Inherited_from
- \Zend_Form::$$_view
- Inherited_from
- \Zend_Form_SubForm::$$_view
Methods

__call(string $method, array $args) : stringOverloading: allow rendering specific decorators
Inherited from: \Zend_Form::__call()\Zend_Form_SubForm::__call()Call renderDecoratorName() to render a specific decorator.
| Name | Type | Description |
|---|---|---|
| $method | string | |
| $args | array |
| Type | Description |
|---|---|
| string |
| Exception | Description |
|---|---|
| \Zend_Form_Exception | for invalid decorator or invalid method call |

__clone() : voidClone form object and all children
Inherited from: \Zend_Form::__clone()\Zend_Form_SubForm::__clone()
__construct(array | \Zend_Config | null $options = null) : voidConstructor
Registers form view helper as decorator
| Name | Type | Description |
|---|---|---|
| $options | array | \Zend_Config | null |

__get(string $name) : \Zend_Form_Element | \Zend_Form | nullOverloading: access to elements, form groups, and display groups
Inherited from: \Zend_Form::__get()\Zend_Form_SubForm::__get()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_Form_Element | \Zend_Form | null |

__isset(string $name) : booleanOverloading: access to elements, form groups, and display groups
Inherited from: \Zend_Form::__isset()\Zend_Form_SubForm::__isset()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| boolean |

__set(string $name, \Zend_Form_Element | \Zend_Form $value) : voidOverloading: access to elements, form groups, and display groups
Inherited from: \Zend_Form::__set()\Zend_Form_SubForm::__set()| Name | Type | Description |
|---|---|---|
| $name | string | |
| $value | \Zend_Form_Element | \Zend_Form |
| Exception | Description |
|---|---|
| \Zend_Form_Exception | for invalid $value |

__toString() : stringSerialize as string
Inherited from: \Zend_Form::__toString()\Zend_Form_SubForm::__toString()Proxies to render().
| Type | Description |
|---|---|
| string |

__unset(string $name) : voidOverloading: access to elements, form groups, and display groups
Inherited from: \Zend_Form::__unset()\Zend_Form_SubForm::__unset()| Name | Type | Description |
|---|---|---|
| $name | string |

_addDisplayGroupObject(\Zend_Form_DisplayGroup $group, string | null $name = null) : \Zend_FormAdd a display group object (used with cloning)
Inherited from: \Zend_Form::_addDisplayGroupObject()\Zend_Form_SubForm::_addDisplayGroupObject()| Name | Type | Description |
|---|---|---|
| $group | \Zend_Form_DisplayGroup | |
| $name | string | null |
| Type | Description |
|---|---|
| \Zend_Form |

_array_replace_recursive(array $into) : voidThis is a helper function until php 5.3 is widespreaded
Inherited from: \Zend_Form::_array_replace_recursive()\Zend_Form_SubForm::_array_replace_recursive()| Name | Type | Description |
|---|---|---|
| $into | array |
- Access
- protected

_attachToArray(mixed $value, string $arrayPath) : arrayConverts given arrayPath to an array and attaches given value at the end of it.
Inherited from: \Zend_Form::_attachToArray()\Zend_Form_SubForm::_attachToArray()| Name | Type | Description |
|---|---|---|
| $value | mixed | The value to attach |
| $arrayPath | string | Given array path to convert and attach to. |
| Type | Description |
|---|---|
| array |

_dissolveArrayUnsetKey(array $array, string | null $arrayPath, string $key) : arrayGiven an array, an optional arrayPath and a key this method dissolves the arrayPath and unsets the key within the array if it exists.
Inherited from: \Zend_Form::_dissolveArrayUnsetKey()\Zend_Form_SubForm::_dissolveArrayUnsetKey()| Name | Type | Description |
|---|---|---|
| $array | array | |
| $arrayPath | string | null | |
| $key | string |
| Type | Description |
|---|---|
| array |

_dissolveArrayValue(array $value, string $arrayPath) : stringExtract the value by walking the array using given array path.
Inherited from: \Zend_Form::_dissolveArrayValue()\Zend_Form_SubForm::_dissolveArrayValue()Given an array path such as foo[bar][baz], returns the value of the last element (in this case, 'baz').
| Name | Type | Description |
|---|---|---|
| $value | array | Array to walk |
| $arrayPath | string | Array notation path of the part to extract |
| Type | Description |
|---|---|
| string |

_getArrayName(string $value) : stringDetermine array key name from given value
Inherited from: \Zend_Form::_getArrayName()\Zend_Form_SubForm::_getArrayName()Given a value such as foo[bar][baz], returns the last element (in this case, 'baz').
| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| string |

_getDecorator(string $name, null | array $options) : \Zend_Form_Decorator_InterfaceInstantiate a decorator based on class name or class name fragment
Inherited from: \Zend_Form::_getDecorator()\Zend_Form_SubForm::_getDecorator()| Name | Type | Description |
|---|---|---|
| $name | string | |
| $options | null | array |
| Type | Description |
|---|---|
| \Zend_Form_Decorator_Interface |

_getErrorMessages() : arrayRetrieve optionally translated custom error messages
Inherited from: \Zend_Form::_getErrorMessages()\Zend_Form_SubForm::_getErrorMessages()| Type | Description |
|---|---|
| array |

_getIsRendered() : voidGet the value of $_isRendered member
Inherited from: \Zend_Form::_getIsRendered()\Zend_Form_SubForm::_getIsRendered()
_loadDecorator(array $decorator, mixed $name) : \Zend_Form_Decorator_InterfaceLazy-load a decorator
Inherited from: \Zend_Form::_loadDecorator()\Zend_Form_SubForm::_loadDecorator()| Name | Type | Description |
|---|---|---|
| $decorator | array | Decorator type and options |
| $name | mixed | Decorator name or alias |
| Type | Description |
|---|---|
| \Zend_Form_Decorator_Interface |

_setElementsBelongTo(string $name = null) : voidSet array to which elements belong
Inherited from: \Zend_Form::_setElementsBelongTo()\Zend_Form_SubForm::_setElementsBelongTo()| Name | Type | Description |
|---|---|---|
| $name | string | Element name |

_setIsRendered() : voidWhen calling renderFormElements or render this method is used to set $_isRendered member to prevent repeatedly merging belongsTo setting
Inherited from: \Zend_Form::_setIsRendered()\Zend_Form_SubForm::_setIsRendered()
_sort() : voidSort items according to their order
Inherited from: \Zend_Form::_sort()\Zend_Form_SubForm::_sort()
addAttribs(array $attribs) : \Zend_FormAdd multiple form attributes at once
Inherited from: \Zend_Form::addAttribs()\Zend_Form_SubForm::addAttribs()| Name | Type | Description |
|---|---|---|
| $attribs | array |
| Type | Description |
|---|---|
| \Zend_Form |

addDecorator(string | \Zend_Form_Decorator_Interface $decorator, array | \Zend_Config $options = null) : \Zend_FormAdd a decorator for rendering the element
Inherited from: \Zend_Form::addDecorator()\Zend_Form_SubForm::addDecorator()| Name | Type | Description |
|---|---|---|
| $decorator | string | \Zend_Form_Decorator_Interface | |
| $options | array | \Zend_Config | Options with which to initialize decorator |
| Type | Description |
|---|---|
| \Zend_Form |

addDecorators(array $decorators) : \Zend_FormAdd many decorators at once
Inherited from: \Zend_Form::addDecorators()\Zend_Form_SubForm::addDecorators()| Name | Type | Description |
|---|---|---|
| $decorators | array |
| Type | Description |
|---|---|
| \Zend_Form |

addDisplayGroup(array $elements, string $name, array | \Zend_Config $options = null) : \Zend_FormAdd a display group
Inherited from: \Zend_Form::addDisplayGroup()\Zend_Form_SubForm::addDisplayGroup()Groups named elements for display purposes.
If a referenced element does not yet exist in the form, it is omitted.
| Name | Type | Description |
|---|---|---|
| $elements | array | |
| $name | string | |
| $options | array | \Zend_Config |
| Type | Description |
|---|---|
| \Zend_Form |
| Exception | Description |
|---|---|
| \Zend_Form_Exception | if no valid elements provided |

addDisplayGroupPrefixPath(string $prefix, string $path) : \Zend_FormAdd prefix path for all display groups
Inherited from: \Zend_Form::addDisplayGroupPrefixPath()\Zend_Form_SubForm::addDisplayGroupPrefixPath()| Name | Type | Description |
|---|---|---|
| $prefix | string | |
| $path | string |
| Type | Description |
|---|---|
| \Zend_Form |

addDisplayGroupPrefixPaths(array $spec) : \Zend_FormAdd multiple display group prefix paths at once
Inherited from: \Zend_Form::addDisplayGroupPrefixPaths()\Zend_Form_SubForm::addDisplayGroupPrefixPaths()| Name | Type | Description |
|---|---|---|
| $spec | array |
| Type | Description |
|---|---|
| \Zend_Form |

addDisplayGroups(array $groups) : \Zend_FormAdd multiple display groups at once
Inherited from: \Zend_Form::addDisplayGroups()\Zend_Form_SubForm::addDisplayGroups()| Name | Type | Description |
|---|---|---|
| $groups | array |
| Type | Description |
|---|---|
| \Zend_Form |

addElement(string | \Zend_Form_Element $element, string $name = null, array | \Zend_Config $options = null) : \Zend_Form
$element may be either a string element type, or an object of type Zend_Form_Element. If a string element type is provided, $name must be provided, and $options may be optionally provided for configuring the element.
If a Zend_Form_Element is provided, $name may be optionally provided, and any provided $options will be ignored.
| Name | Type | Description |
|---|---|---|
| $element | string | \Zend_Form_Element | |
| $name | string | |
| $options | array | \Zend_Config |
| Type | Description |
|---|---|
| \Zend_Form |
| Exception | Description |
|---|---|
| \Zend_Form_Exception | on invalid element |

addElementPrefixPath(string $prefix, string $path, string $type = null) : \Zend_FormAdd prefix path for all elements
Inherited from: \Zend_Form::addElementPrefixPath()\Zend_Form_SubForm::addElementPrefixPath()| Name | Type | Description |
|---|---|---|
| $prefix | string | |
| $path | string | |
| $type | string |
| Type | Description |
|---|---|
| \Zend_Form |

addElementPrefixPaths(array $spec) : \Zend_FormAdd prefix paths for all elements
Inherited from: \Zend_Form::addElementPrefixPaths()\Zend_Form_SubForm::addElementPrefixPaths()| Name | Type | Description |
|---|---|---|
| $spec | array |
| Type | Description |
|---|---|
| \Zend_Form |

addElements(array $elements) : \Zend_FormAdd multiple elements at once
Inherited from: \Zend_Form::addElements()\Zend_Form_SubForm::addElements()| Name | Type | Description |
|---|---|---|
| $elements | array |
| Type | Description |
|---|---|
| \Zend_Form |

addError(string $message) : \Zend_FormAdd an error message and mark element as failed validation
Inherited from: \Zend_Form::addError()\Zend_Form_SubForm::addError()| Name | Type | Description |
|---|---|---|
| $message | string |
| Type | Description |
|---|---|
| \Zend_Form |

addErrorMessage(string $message) : \Zend_FormAdd a custom error message to return in the event of failed validation
Inherited from: \Zend_Form::addErrorMessage()\Zend_Form_SubForm::addErrorMessage()| Name | Type | Description |
|---|---|---|
| $message | string |
| Type | Description |
|---|---|
| \Zend_Form |

addErrorMessages(array $messages) : \Zend_FormAdd multiple custom error messages to return in the event of failed validation
Inherited from: \Zend_Form::addErrorMessages()\Zend_Form_SubForm::addErrorMessages()| Name | Type | Description |
|---|---|---|
| $messages | array |
| Type | Description |
|---|---|
| \Zend_Form |

addErrors(array $messages) : \Zend_FormAdd multiple error messages and flag element as failed validation
Inherited from: \Zend_Form::addErrors()\Zend_Form_SubForm::addErrors()| Name | Type | Description |
|---|---|---|
| $messages | array |
| Type | Description |
|---|---|
| \Zend_Form |

addPrefixPath(string $prefix, string $path, string $type = null) : \Zend_FormAdd prefix path for plugin loader
Inherited from: \Zend_Form::addPrefixPath()\Zend_Form_SubForm::addPrefixPath()If no $type specified, assumes it is a base path for both filters and validators, and sets each according to the following rules: - decorators: $prefix = $prefix . '_Decorator' - elements: $prefix = $prefix . '_Element'
Otherwise, the path prefix is set on the appropriate plugin loader.
If $type is 'decorator', sets the path in the decorator plugin loader for all elements. Additionally, if no $type is provided, the prefix and path is added to both decorator and element plugin loader with following settings: $prefix . '_Decorator', $path . '/Decorator/' $prefix . '_Element', $path . '/Element/'
| Name | Type | Description |
|---|---|---|
| $prefix | string | |
| $path | string | |
| $type | string |
| Type | Description |
|---|---|
| \Zend_Form |
| Exception | Description |
|---|---|
| \Zend_Form_Exception | for invalid type |

addPrefixPaths(array $spec) : \Zend_FormAdd many prefix paths at once
Inherited from: \Zend_Form::addPrefixPaths()\Zend_Form_SubForm::addPrefixPaths()| Name | Type | Description |
|---|---|---|
| $spec | array |
| Type | Description |
|---|---|
| \Zend_Form |

addSubForm(\Zend_Form $form, string $name, int $order = null) : \Zend_FormAdd a form group/subform
Inherited from: \Zend_Form::addSubForm()\Zend_Form_SubForm::addSubForm()| Name | Type | Description |
|---|---|---|
| $form | \Zend_Form | |
| $name | string | |
| $order | int |
| Type | Description |
|---|---|
| \Zend_Form |

addSubForms(array $subForms) : \Zend_FormAdd multiple form subForms/subforms at once
Inherited from: \Zend_Form::addSubForms()\Zend_Form_SubForm::addSubForms()| Name | Type | Description |
|---|---|---|
| $subForms | array |
| Type | Description |
|---|---|
| \Zend_Form |

clearAttribs() : \Zend_FormClear all form attributes
Inherited from: \Zend_Form::clearAttribs()\Zend_Form_SubForm::clearAttribs()| Type | Description |
|---|---|
| \Zend_Form |

clearDecorators() : \Zend_FormClear all decorators
Inherited from: \Zend_Form::clearDecorators()\Zend_Form_SubForm::clearDecorators()| Type | Description |
|---|---|
| \Zend_Form |

clearDisplayGroups() : \Zend_FormRemove all display groups
Inherited from: \Zend_Form::clearDisplayGroups()\Zend_Form_SubForm::clearDisplayGroups()| Type | Description |
|---|---|
| \Zend_Form |

clearElements() : \Zend_FormRemove all form elements
Inherited from: \Zend_Form::clearElements()\Zend_Form_SubForm::clearElements()| Type | Description |
|---|---|
| \Zend_Form |

clearErrorMessages() : \Zend_FormClear custom error messages stack
Inherited from: \Zend_Form::clearErrorMessages()\Zend_Form_SubForm::clearErrorMessages()| Type | Description |
|---|---|
| \Zend_Form |

clearSubForms() : \Zend_FormRemove all form subForms/subforms
Inherited from: \Zend_Form::clearSubForms()\Zend_Form_SubForm::clearSubForms()| Type | Description |
|---|---|
| \Zend_Form |

count() : intCount of elements/subforms that are iterable
Inherited from: \Zend_Form::count()\Zend_Form_SubForm::count()| Type | Description |
|---|---|
| int |

createElement(string $type, string $name, array | \Zend_Config $options = null) : \Zend_Form_ElementCreate an element
Inherited from: \Zend_Form::createElement()\Zend_Form_SubForm::createElement()Acts as a factory for creating elements. Elements created with this method will not be attached to the form, but will contain element settings as specified in the form object (including plugin loader prefix paths, default decorators, etc.).
| Name | Type | Description |
|---|---|---|
| $type | string | |
| $name | string | |
| $options | array | \Zend_Config |
| Type | Description |
|---|---|
| \Zend_Form_Element |

current() : \Zend_Form_Element | \Zend_Form_DisplayGroup | \Zend_FormCurrent element/subform/display group
Inherited from: \Zend_Form::current()\Zend_Form_SubForm::current()| Type | Description |
|---|---|
| \Zend_Form_Element | \Zend_Form_DisplayGroup | \Zend_Form |

filterName(string $value, bool $allowBrackets = false) : stringFilter a name to only allow valid variable characters
Inherited from: \Zend_Form::filterName()\Zend_Form_SubForm::filterName()| Name | Type | Description |
|---|---|---|
| $value | string | |
| $allowBrackets | bool |
| Type | Description |
|---|---|
| string |

getAttrib(string $key) : mixedRetrieve a single form attribute
Inherited from: \Zend_Form::getAttrib()\Zend_Form_SubForm::getAttrib()| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| mixed |

getAttribs() : arrayRetrieve all form attributes/metadata
Inherited from: \Zend_Form::getAttribs()\Zend_Form_SubForm::getAttribs()| Type | Description |
|---|---|
| array |

getCustomMessages() : arrayRetrieve translated custom error messages Proxies to {@link _getErrorMessages()}.
Inherited from: \Zend_Form::getCustomMessages()\Zend_Form_SubForm::getCustomMessages()| Type | Description |
|---|---|
| array |

getDecorator(string $name) : false | \Zend_Form_Decorator_AbstractRetrieve a registered decorator
Inherited from: \Zend_Form::getDecorator()\Zend_Form_SubForm::getDecorator()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| false | \Zend_Form_Decorator_Abstract |

getDecorators() : arrayRetrieve all decorators
Inherited from: \Zend_Form::getDecorators()\Zend_Form_SubForm::getDecorators()| Type | Description |
|---|---|
| array |

getDefaultDisplayGroupClass() : stringRetrieve default display group class
Inherited from: \Zend_Form::getDefaultDisplayGroupClass()\Zend_Form_SubForm::getDefaultDisplayGroupClass()| Type | Description |
|---|---|
| string |

getDefaultTranslator() : null | \Zend_TranslateGet global default translator object
Inherited from: \Zend_Form::getDefaultTranslator()\Zend_Form_SubForm::getDefaultTranslator()| Type | Description |
|---|---|
| null | \Zend_Translate |

getDescription() : stringRetrieve form description
Inherited from: \Zend_Form::getDescription()\Zend_Form_SubForm::getDescription()| Type | Description |
|---|---|
| string |

getDisplayGroup(string $name) : \Zend_Form_DisplayGroup | nullReturn a display group
Inherited from: \Zend_Form::getDisplayGroup()\Zend_Form_SubForm::getDisplayGroup()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_Form_DisplayGroup | null |

getDisplayGroups() : arrayReturn all display groups
Inherited from: \Zend_Form::getDisplayGroups()\Zend_Form_SubForm::getDisplayGroups()| Type | Description |
|---|---|
| array |

getElement(string $name) : \Zend_Form_Element | nullRetrieve a single element
Inherited from: \Zend_Form::getElement()\Zend_Form_SubForm::getElement()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_Form_Element | null |

getElements() : arrayRetrieve all elements
Inherited from: \Zend_Form::getElements()\Zend_Form_SubForm::getElements()| Type | Description |
|---|---|
| array |

getElementsAndSubFormsOrdered() : arrayReturns a one dimensional numerical indexed array with the Elements, SubForms and Elements from DisplayGroups as Values.
Inherited from: \Zend_Form::getElementsAndSubFormsOrdered()\Zend_Form_SubForm::getElementsAndSubFormsOrdered()Subitems are inserted based on their order Setting if set, otherwise they are appended, the resulting numerical index may differ from the order value.
| Type | Description |
|---|---|
| array |
- Access
- protected

getElementsBelongTo() : string | nullGet name of array elements belong to
Inherited from: \Zend_Form::getElementsBelongTo()\Zend_Form_SubForm::getElementsBelongTo()| Type | Description |
|---|---|
| string | null |

getErrorMessages() : arrayRetrieve custom error messages
Inherited from: \Zend_Form::getErrorMessages()\Zend_Form_SubForm::getErrorMessages()| Type | Description |
|---|---|
| array |

getErrors(string $name = null, $suppressArrayNotation = false) : arrayGet error codes for all elements failing validation
Inherited from: \Zend_Form::getErrors()\Zend_Form_SubForm::getErrors()| Name | Type | Description |
|---|---|---|
| $name | string | |
| $suppressArrayNotation |
| Type | Description |
|---|---|
| array |

getFullyQualifiedName() : stringGet fully qualified name
Inherited from: \Zend_Form::getFullyQualifiedName()\Zend_Form_SubForm::getFullyQualifiedName()Places name as subitem of array and/or appends brackets.
| Type | Description |
|---|---|
| string |

getMessages(string $name = null, bool $suppressArrayNotation = false) : arrayRetrieve error messages from elements failing validations
Inherited from: \Zend_Form::getMessages()\Zend_Form_SubForm::getMessages()The array keys are validation failure message identifiers, and the array values are the corresponding human-readable message strings.
If isValid() was never called or if the most recent isValid() call returned true, then this method returns an empty array.
| Name | Type | Description |
|---|---|---|
| $name | string | |
| $suppressArrayNotation | bool |
| Type | Description |
|---|---|
| array |

getMethod() : stringRetrieve form method
Inherited from: \Zend_Form::getMethod()\Zend_Form_SubForm::getMethod()| Type | Description |
|---|---|
| string |

getPluginLoader(string $type = null) : \Zend_Loader_PluginLoader_InterfaceRetrieve plugin loader for given type
Inherited from: \Zend_Form::getPluginLoader()\Zend_Form_SubForm::getPluginLoader()$type may be one of: - decorator - element
If a plugin loader does not exist for the given type, defaults are created.
| Name | Type | Description |
|---|---|---|
| $type | string |
| Type | Description |
|---|---|
| \Zend_Loader_PluginLoader_Interface |

getSubForm(string $name) : \Zend_Form | nullRetrieve a form subForm/subform
Inherited from: \Zend_Form::getSubForm()\Zend_Form_SubForm::getSubForm()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_Form | null |

getSubForms() : arrayRetrieve all form subForms/subforms
Inherited from: \Zend_Form::getSubForms()\Zend_Form_SubForm::getSubForms()| Type | Description |
|---|---|
| array |

getTranslator() : \Zend_Translate | nullRetrieve translator object
Inherited from: \Zend_Form::getTranslator()\Zend_Form_SubForm::getTranslator()| Type | Description |
|---|---|
| \Zend_Translate | null |

getUnfilteredValue(string $name) : mixedGet unfiltered element value
Inherited from: \Zend_Form::getUnfilteredValue()\Zend_Form_SubForm::getUnfilteredValue()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| mixed |

getUnfilteredValues() : arrayRetrieve all unfiltered element values
Inherited from: \Zend_Form::getUnfilteredValues()\Zend_Form_SubForm::getUnfilteredValues()| Type | Description |
|---|---|
| array |

getValidValues(array $data, bool $suppressArrayNotation = false) : arrayReturns only the valid values from the given form input.
Inherited from: \Zend_Form::getValidValues()\Zend_Form_SubForm::getValidValues()For models that can be saved in a partially valid state, for example when following the builder, prototype or state patterns it is particularly interessting to retrieve all the current valid values to persist them.
| Name | Type | Description |
|---|---|---|
| $data | array | |
| $suppressArrayNotation | bool |
| Type | Description |
|---|---|
| array |

getValue(string $name) : mixedRetrieve value for single element
Inherited from: \Zend_Form::getValue()\Zend_Form_SubForm::getValue()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| mixed |

getValues(bool $suppressArrayNotation = false) : arrayRetrieve all form element values
Inherited from: \Zend_Form::getValues()\Zend_Form_SubForm::getValues()| Name | Type | Description |
|---|---|---|
| $suppressArrayNotation | bool |
| Type | Description |
|---|---|
| array |

getView() : \Zend_View_InterfaceGet view
If none registered, attempts to pull from ViewRenderer.
| Type | Description |
|---|---|
| \Zend_View_Interface |

hasDefaultTranslator() : booleanIs there a default translation object set?
Inherited from: \Zend_Form::hasDefaultTranslator()\Zend_Form_SubForm::hasDefaultTranslator()| Type | Description |
|---|---|
| boolean |

hasErrors() : boolAre there errors in the form?
Inherited from: \Zend_Form::hasErrors()\Zend_Form_SubForm::hasErrors()| Type | Description |
|---|---|
| bool |

hasTranslator() : boolDoes this form have its own specific translator?
Inherited from: \Zend_Form::hasTranslator()\Zend_Form_SubForm::hasTranslator()| Type | Description |
|---|---|
| bool |

init() : voidInitialize form (used by extending classes)
Inherited from: \Zend_Form::init()\Zend_Form_SubForm::init()
isArray() : boolGet flag indicating if elements belong to an array
Inherited from: \Zend_Form::isArray()\Zend_Form_SubForm::isArray()| Type | Description |
|---|---|
| bool |

isErrors() : boolAre there errors in the form?
Inherited from: \Zend_Form::isErrors()\Zend_Form_SubForm::isErrors()| Type | Description |
|---|---|
| bool |

isValid(array $data) : boolean
If $value fails validation, then this method returns false, and getMessages() will return an array of messages that explain why the validation failed.
| Name | Type | Description |
|---|---|---|
| $data | array |
| Type | Description |
|---|---|
| boolean |
| Exception | Description |
|---|---|
| \Zend_Validate_Exception | If validation of $value is impossible |

isValidPartial(array $data) : booleanValidate a partial form
Inherited from: \Zend_Form::isValidPartial()\Zend_Form_SubForm::isValidPartial()Does not check for required flags.
| Name | Type | Description |
|---|---|---|
| $data | array |
| Type | Description |
|---|---|
| boolean |

key() : stringCurrent element/subform/display group name
Inherited from: \Zend_Form::key()\Zend_Form_SubForm::key()| Type | Description |
|---|---|
| string |

loadDefaultDecoratorsIsDisabled() : boolShould we load the default decorators?
Inherited from: \Zend_Form::loadDefaultDecoratorsIsDisabled()\Zend_Form_SubForm::loadDefaultDecoratorsIsDisabled()| Type | Description |
|---|---|
| bool |

markAsError() : \Zend_FormMark the element as being in a failed validation state
Inherited from: \Zend_Form::markAsError()\Zend_Form_SubForm::markAsError()| Type | Description |
|---|---|
| \Zend_Form |

next() : voidMove pointer to next element/subform/display group
Inherited from: \Zend_Form::next()\Zend_Form_SubForm::next()
populate(array $values) : \Zend_Form
Proxies to setDefaults()
| Name | Type | Description |
|---|---|---|
| $values | array |
| Type | Description |
|---|---|
| \Zend_Form |

processAjax(array $data) : stringProcess submitted AJAX data
Inherited from: \Zend_Form::processAjax()\Zend_Form_SubForm::processAjax()Checks if provided $data is valid, via isValidPartial(). If so, it returns JSON-encoded boolean true. If not, it returns JSON-encoded error messages (as returned by getMessages()).
| Name | Type | Description |
|---|---|---|
| $data | array |
| Type | Description |
|---|---|
| string | JSON-encoded boolean true or error messages |

removeAttrib(string $key) : boolRemove attribute
Inherited from: \Zend_Form::removeAttrib()\Zend_Form_SubForm::removeAttrib()| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| bool |

removeDecorator(string $name) : boolRemove a single decorator
Inherited from: \Zend_Form::removeDecorator()\Zend_Form_SubForm::removeDecorator()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| bool |

removeDisplayGroup(string $name) : booleanRemove a display group by name
Inherited from: \Zend_Form::removeDisplayGroup()\Zend_Form_SubForm::removeDisplayGroup()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| boolean |

removeElement(string $name) : booleanRemove element
Inherited from: \Zend_Form::removeElement()\Zend_Form_SubForm::removeElement()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| boolean |

removeFromIteration(string $name) : voidRemove an element from iteration
Inherited from: \Zend_Form::removeFromIteration()\Zend_Form_SubForm::removeFromIteration()| Name | Type | Description |
|---|---|---|
| $name | string | Element/group/form name |

removeSubForm(string $name) : booleanRemove form subForm/subform
Inherited from: \Zend_Form::removeSubForm()\Zend_Form_SubForm::removeSubForm()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| boolean |

render(\Zend_View_Interface $view = null) : string
| Name | Type | Description |
|---|---|---|
| $view | \Zend_View_Interface |
| Type | Description |
|---|---|
| string |

rewind() : voidMove pointer to beginning of element/subform/display group loop
Inherited from: \Zend_Form::rewind()\Zend_Form_SubForm::rewind()
setAction(string $action) : \Zend_Form
| Name | Type | Description |
|---|---|---|
| $action | string |
| Type | Description |
|---|---|
| \Zend_Form |

setAttrib(string $key, mixed $value) : \Zend_Form
| Name | Type | Description |
|---|---|---|
| $key | string | |
| $value | mixed |
| Type | Description |
|---|---|
| \Zend_Form |

setAttribs(array $attribs) : \Zend_FormSet multiple form attributes at once
Inherited from: \Zend_Form::setAttribs()\Zend_Form_SubForm::setAttribs()Overwrites any previously set attributes.
| Name | Type | Description |
|---|---|---|
| $attribs | array |
| Type | Description |
|---|---|
| \Zend_Form |

setConfig(\Zend_Config $config) : \Zend_FormSet form state from config object
Inherited from: \Zend_Form::setConfig()\Zend_Form_SubForm::setConfig()| Name | Type | Description |
|---|---|---|
| $config | \Zend_Config |
| Type | Description |
|---|---|
| \Zend_Form |

setDecorators(array $decorators) : \Zend_FormOverwrite all decorators
Inherited from: \Zend_Form::setDecorators()\Zend_Form_SubForm::setDecorators()| Name | Type | Description |
|---|---|---|
| $decorators | array |
| Type | Description |
|---|---|
| \Zend_Form |

setDefault(string $name, mixed $value) : \Zend_FormSet default value for an element
Inherited from: \Zend_Form::setDefault()\Zend_Form_SubForm::setDefault()| Name | Type | Description |
|---|---|---|
| $name | string | |
| $value | mixed |
| Type | Description |
|---|---|
| \Zend_Form |

setDefaultDisplayGroupClass(string $class) : \Zend_FormSet default display group class
Inherited from: \Zend_Form::setDefaultDisplayGroupClass()\Zend_Form_SubForm::setDefaultDisplayGroupClass()| Name | Type | Description |
|---|---|---|
| $class | string |
| Type | Description |
|---|---|
| \Zend_Form |

setDefaultTranslator(\Zend_Translate | \Zend_Translate_Adapter | null $translator = null) : voidSet global default translator object
Inherited from: \Zend_Form::setDefaultTranslator()\Zend_Form_SubForm::setDefaultTranslator()| Name | Type | Description |
|---|---|---|
| $translator | \Zend_Translate | \Zend_Translate_Adapter | null |

setDefaults(array $defaults) : \Zend_FormSet default values for elements
Inherited from: \Zend_Form::setDefaults()\Zend_Form_SubForm::setDefaults()Sets values for all elements specified in the array of $defaults.
| Name | Type | Description |
|---|---|---|
| $defaults | array |
| Type | Description |
|---|---|
| \Zend_Form |

setDescription(string $value) : \Zend_FormSet form description
Inherited from: \Zend_Form::setDescription()\Zend_Form_SubForm::setDescription()| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Form |

setDisableLoadDefaultDecorators(bool $flag) : \Zend_FormSet flag to disable loading default decorators
Inherited from: \Zend_Form::setDisableLoadDefaultDecorators()\Zend_Form_SubForm::setDisableLoadDefaultDecorators()| Name | Type | Description |
|---|---|---|
| $flag | bool |
| Type | Description |
|---|---|
| \Zend_Form |

setDisableTranslator(bool $flag) : \Zend_FormIndicate whether or not translation should be disabled
Inherited from: \Zend_Form::setDisableTranslator()\Zend_Form_SubForm::setDisableTranslator()| Name | Type | Description |
|---|---|---|
| $flag | bool |
| Type | Description |
|---|---|
| \Zend_Form |

setDisplayGroupDecorators(array $decorators) : \Zend_FormSet all display group decorators as specified
Inherited from: \Zend_Form::setDisplayGroupDecorators()\Zend_Form_SubForm::setDisplayGroupDecorators()| Name | Type | Description |
|---|---|---|
| $decorators | array |
| Type | Description |
|---|---|
| \Zend_Form |

setDisplayGroups(array $groups) : \Zend_FormAdd multiple display groups (overwrites)
Inherited from: \Zend_Form::setDisplayGroups()\Zend_Form_SubForm::setDisplayGroups()| Name | Type | Description |
|---|---|---|
| $groups | array |
| Type | Description |
|---|---|
| \Zend_Form |

setElementDecorators(array $decorators, array | null $elements = null, bool $include = true) : \Zend_FormSet all element decorators as specified
Inherited from: \Zend_Form::setElementDecorators()\Zend_Form_SubForm::setElementDecorators()| Name | Type | Description |
|---|---|---|
| $decorators | array | |
| $elements | array | null | Specific elements to decorate or exclude from decoration |
| $include | bool | Whether $elements is an inclusion or exclusion list |
| Type | Description |
|---|---|
| \Zend_Form |

setElementFilters(array $filters) : \Zend_FormSet all elements' filters
Inherited from: \Zend_Form::setElementFilters()\Zend_Form_SubForm::setElementFilters()| Name | Type | Description |
|---|---|---|
| $filters | array |
| Type | Description |
|---|---|
| \Zend_Form |

setElements(array $elements) : \Zend_FormSet form elements (overwrites existing elements)
Inherited from: \Zend_Form::setElements()\Zend_Form_SubForm::setElements()| Name | Type | Description |
|---|---|---|
| $elements | array |
| Type | Description |
|---|---|
| \Zend_Form |

setElementsBelongTo(string $array) : \Zend_FormSet name of array elements belong to
Inherited from: \Zend_Form::setElementsBelongTo()\Zend_Form_SubForm::setElementsBelongTo()| Name | Type | Description |
|---|---|---|
| $array | string |
| Type | Description |
|---|---|
| \Zend_Form |

setEnctype(string $value) : \Zend_Form
| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Form |

setErrorMessages(array $messages) : \Zend_FormSame as addErrorMessages(), but clears custom error message stack first
Inherited from: \Zend_Form::setErrorMessages()\Zend_Form_SubForm::setErrorMessages()| Name | Type | Description |
|---|---|---|
| $messages | array |
| Type | Description |
|---|---|
| \Zend_Form |

setErrors(array $messages) : \Zend_FormOverwrite any previously set error messages and flag as failed validation
Inherited from: \Zend_Form::setErrors()\Zend_Form_SubForm::setErrors()| Name | Type | Description |
|---|---|---|
| $messages | array |
| Type | Description |
|---|---|
| \Zend_Form |

setIsArray(bool $flag) : \Zend_FormSet flag indicating elements belong to array
Inherited from: \Zend_Form::setIsArray()\Zend_Form_SubForm::setIsArray()| Name | Type | Description |
|---|---|---|
| $flag | bool | Value of flag |
| Type | Description |
|---|---|
| \Zend_Form |

setLegend(string $value) : \Zend_Form
| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Form |

setMethod(string $method) : \Zend_Form
Only values in $_methods() allowed
| Name | Type | Description |
|---|---|---|
| $method | string |
| Type | Description |
|---|---|
| \Zend_Form |
| Exception | Description |
|---|---|
| \Zend_Form_Exception |

setName(string $name) : \Zend_Form
| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_Form |

setOptions(array $options) : \Zend_FormSet form state from options array
Inherited from: \Zend_Form::setOptions()\Zend_Form_SubForm::setOptions()| Name | Type | Description |
|---|---|---|
| $options | array |
| Type | Description |
|---|---|
| \Zend_Form |

setOrder(int $index) : \Zend_Form
| Name | Type | Description |
|---|---|---|
| $index | int |
| Type | Description |
|---|---|
| \Zend_Form |

setPluginLoader(\Zend_Loader_PluginLoader_Interface $loader, string $type = null) : \Zend_FormSet plugin loaders for use with decorators and elements
Inherited from: \Zend_Form::setPluginLoader()\Zend_Form_SubForm::setPluginLoader()| Name | Type | Description |
|---|---|---|
| $loader | \Zend_Loader_PluginLoader_Interface | |
| $type | string | 'decorator' or 'element' |
| Type | Description |
|---|---|
| \Zend_Form |
| Exception | Description |
|---|---|
| \Zend_Form_Exception | on invalid type |

setSubFormDecorators(array $decorators) : \Zend_FormSet all subform decorators as specified
Inherited from: \Zend_Form::setSubFormDecorators()\Zend_Form_SubForm::setSubFormDecorators()| Name | Type | Description |
|---|---|---|
| $decorators | array |
| Type | Description |
|---|---|
| \Zend_Form |

setSubForms(array $subForms) : \Zend_FormSet multiple form subForms/subforms (overwrites)
Inherited from: \Zend_Form::setSubForms()\Zend_Form_SubForm::setSubForms()| Name | Type | Description |
|---|---|---|
| $subForms | array |
| Type | Description |
|---|---|
| \Zend_Form |

setTranslator(\Zend_Translate | \Zend_Translate_Adapter | null $translator = null) : \Zend_FormSet translator object
Inherited from: \Zend_Form::setTranslator()\Zend_Form_SubForm::setTranslator()| Name | Type | Description |
|---|---|---|
| $translator | \Zend_Translate | \Zend_Translate_Adapter | null |
| Type | Description |
|---|---|
| \Zend_Form |

setView(\Zend_View_Interface $view = null) : \Zend_Form
| Name | Type | Description |
|---|---|---|
| $view | \Zend_View_Interface |
| Type | Description |
|---|---|
| \Zend_Form |

translatorIsDisabled() : boolIs translation disabled?
Inherited from: \Zend_Form::translatorIsDisabled()\Zend_Form_SubForm::translatorIsDisabled()| Type | Description |
|---|---|
| bool |

valid() : boolDetermine if current element/subform/display group is valid
Inherited from: \Zend_Form::valid()\Zend_Form_SubForm::valid()| Type | Description |
|---|---|
| bool |