Display a form in a table decorator.

package Gems
subpackage Form
copyright Copyright (c) 2011 Erasmus MC
license New BSD License
since Class available since version 1.0

 Methods

Constructor

__construct(array|\Zend_Config $options = null) : void

Accept options during initialization.

Parameters

$options

array\Zend_Config

getCellDecorators()

getCellDecorators() 

Retrieve current element

getElement() : mixed

Returns

mixed

Retrieve a single option

getOption(string $key) : mixed

Parameters

$key

string

Returns

mixed

Retrieve decorator options

getOptions() : array

Returns

array

loadDefaultCellDecorators()

loadDefaultCellDecorators() 

Delete a single option

removeOption(string $key) : boolean

Parameters

$key

string

Returns

boolean

Render the element

render(string $content) : string

Parameters

$content

string

Content to decorate

Returns

string

Set decorator options from a config object

setConfig(\Zend_Config $config) : \Zend_Form_Decorator_Interface

Parameters

$config

\Zend_Config

Returns

\Zend_Form_Decorator_Interface

Set an element to decorate

setElement(mixed $element) : \Zend_Form_Decorator_Interface

While the name is "setElement", a form decorator could decorate either an element or a form object.

Parameters

$element

mixed

Returns

\Zend_Form_Decorator_Interface

Set a single option

setOption(string $key, mixed $value) : \Zend_Form_Decorator_Interface

Parameters

$key

string

$value

mixed

Returns

\Zend_Form_Decorator_Interface

Set decorator options from an array

setOptions(array $options) : \Zend_Form_Decorator_Interface

Parameters

$options

array

Returns

\Zend_Form_Decorator_Interface

applyDecorators()

applyDecorators(\Zend_Form_Element $element, array $decorators) 

Parameters

$element

$decorators

 Properties

 

$_cellDecorators

$_cellDecorators 

Default

 

$_options

$_options 

Default

 

$_subform

$_subform 

Default