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 license@zend.com so we can send you a copy immediately.
Zend_Form_DisplayGroup
array $_attribs = 'array'Group attributes
Detailsarray $_decorators = 'array'Display group decorators
Detailsstring $_description = ''Description
Detailsbool $_disableLoadDefaultDecorators = 'false'Should we disable loading the default decorators?
Detailsarray $_elementOrder = 'array'Element order
Detailsarray $_elements = 'array'Elements
Detailsbool $_groupUpdated = 'false'Whether or not a new element has been added to the group
DetailsZend_Loader_PluginLoader $_loader = ''Plugin loader for decorators
Detailsstring $_name = ''Group name
Detailsint $_order = ''Group order
DetailsZend_Translate $_translator = ''
Detailsbool $_translatorDisabled = 'false'Is translation disabled?
DetailsZend_View_Interface $_view = ''
Details__call(
string $method, array $args
)
:
stringOverloading: allow rendering specific decorators
Call renderDecoratorName() to render a specific decorator.
Details__construct(
string $name, Zend_Loader_PluginLoader $loader, array|Zend_Config $options
=
null
)
:
voidConstructor
Details__toString(
)
:
stringString representation of group
Details_getDecorator(
string $name, null|array $options
=
null
)
:
Zend_Form_Decorator_InterfaceInstantiate a decorator based on class name or class name fragment
Details_loadDecorator(
array $decorator, mixed $name
)
:
Zend_Form_Decorator_InterfaceLazy-load a decorator
Details_sort(
)
:
voidSort items according to their order
DetailsaddAttribs(
array $attribs
)
:
Zend_Form_DisplayGroupAdd multiple form attributes at once
DetailsaddDecorator(
string|Zend_Form_Decorator_Interface $decorator, array|Zend_Config $options
=
null
)
:
Zend_Form_DisplayGroupAdd a decorator for rendering the group
DetailsaddDecorators(
array $decorators
)
:
Zend_Form_DisplayGroupAdd many decorators at once
DetailsaddElement(
Zend_Form_Element $element
)
:
Zend_Form_DisplayGroupAdd element to stack
DetailsaddElements(
array $elements
)
:
Zend_Form_DisplayGroupAdd multiple elements at once
DetailsaddPrefixPath(
string $prefix, string $path
)
:
Zend_Form_DisplayGroupAdd a prefix path for the plugin loader
DetailsaddPrefixPaths(
array $spec
)
:
Zend_Form_DisplayGroupAdd several prefix paths at once
DetailsclearAttribs(
)
:
Zend_FormClear all form attributes
DetailsclearDecorators(
)
:
Zend_Form_DisplayGroupClear all decorators
DetailsclearElements(
)
:
Zend_Form_DisplayGroupRemove all elements
Detailscount(
)
:
intCount of elements/subforms that are iterable
Detailscurrent(
)
:
Zend_Form_ElementCurrent element
DetailsfilterName(
string $value
)
:
stringFilter a name to only allow valid variable characters
DetailsgetAttrib(
string $key
)
:
mixedRetrieve a single form attribute
DetailsgetAttribs(
)
:
arrayRetrieve all form attributes/metadata
DetailsgetDecorator(
string $name
)
:
false|Zend_Form_Decorator_AbstractRetrieve a registered decorator
DetailsgetDecorators(
)
:
arrayRetrieve all decorators
DetailsgetDescription(
)
:
stringGet description
DetailsgetElement(
string $name
)
:
Zend_Form_Element|nullRetrieve element
DetailsgetElements(
)
:
arrayRetrieve elements
DetailsgetFullyQualifiedName(
)
:
stringGet fully qualified name
Places name as subitem of array and/or appends brackets.
DetailsgetId(
)
:
stringGet element id
DetailsgetLegend(
)
:
stringRetrieve group legend
DetailsgetName(
)
:
stringRetrieve group name
DetailsgetOrder(
)
:
intRetrieve group order
DetailsgetPluginLoader(
)
:
Zend_Loader_PluginLoaderRetrieve plugin loader
DetailsgetTranslator(
)
:
Zend_Translate_Adapter|nullRetrieve translator object
DetailsgetView(
)
:
Zend_View_InterfaceRetrieve view
Detailsinit(
)
:
voidInitialize object; used by extending classes
Detailskey(
)
:
stringCurrent element
DetailsloadDefaultDecorators(
)
:
voidLoad default decorators
DetailsloadDefaultDecoratorsIsDisabled(
)
:
boolShould we load the default decorators?
Detailsnext(
)
:
voidMove pointer to next element
DetailsremoveAttrib(
string $key
)
:
boolRemove attribute
DetailsremoveDecorator(
string $name
)
:
boolRemove a single decorator
DetailsremoveElement(
string $name
)
:
booleanRemove a single element
Detailsrender(
$view
=
null
)
:
stringRender display group
Detailsrewind(
)
:
voidMove pointer to beginning of element loop
DetailssetAttrib(
string $key, mixed $value
)
:
Zend_Form_DisplayGroupSet group attribute
DetailssetAttribs(
array $attribs
)
:
Zend_Form_DisplayGroupSet multiple form attributes at once
Overwrites any previously set attributes.
DetailssetConfig(
Zend_Config $config
)
:
Zend_Form_DisplayGroupSet options from config object
DetailssetDecorators(
array $decorators
)
:
Zend_Form_DisplayGroupOverwrite all decorators
DetailssetDescription(
string $value
)
:
Zend_Form_DisplayGroupSet description
DetailssetDisableLoadDefaultDecorators(
bool $flag
)
:
Zend_Form_ElementSet flag to disable loading default decorators
DetailssetDisableTranslator(
bool $flag
)
:
Zend_Form_DisplayGroupIndicate whether or not translation should be disabled
DetailssetElements(
array $elements
)
:
Zend_Form_DisplayGroupSet multiple elements at once (overwrites)
DetailssetLegend(
string $legend
)
:
Zend_Form_DisplayGroupSet group legend
DetailssetName(
string $name
)
:
Zend_Form_DisplayGroupSet group name
DetailssetOptions(
array $options
)
:
Zend_Form_DisplayGroupSet options
DetailssetOrder(
int $order
)
:
Zend_Form_ElementSet group order
DetailssetPluginLoader(
Zend_Loader_PluginLoader $loader
)
:
Zend_Form_DisplayGroupSet plugin loader
DetailssetTranslator(
Zend_Translate|Zend_Translate_Adapter|null $translator
=
null
)
:
Zend_Form_DisplayGroupSet translator object
DetailssetView(
Zend_View_Interface $view
=
null
)
:
Zend_Form_DisplayGroupSet view
DetailstranslatorIsDisabled(
)
:
boolIs translation disabled?
Detailsvalid(
)
:
boolDetermine if current element/subform/display group is valid
Details