Zend Framework
1.12
|
Public Member Functions | |
__construct ($options=null) | |
Constructor. | |
setOptions (array $options) | |
Set options. | |
setConfig (Zend_Config $config) | |
Set options from config object. | |
setOption ($key, $value) | |
Set option. | |
getOption ($key) | |
Get option. | |
getOptions () | |
Retrieve options. | |
removeOption ($key) | |
Remove single option. | |
clearOptions () | |
Clear all options. | |
setElement ($element) | |
Set current form element. | |
getElement () | |
Retrieve current element. | |
getPlacement () | |
Determine if decorator should append or prepend content. | |
getSeparator () | |
Retrieve separator to use between old and new content. | |
render ($content) | |
Decorate content and/or element. | |
Public Attributes | |
const | APPEND = 'APPEND' |
Placement constants. | |
const | PREPEND = 'PREPEND' |
Protected Attributes | |
$_placement = 'APPEND' | |
$_element | |
$_options = array() | |
$_separator = PHP_EOL | |
__construct | ( | $options = null | ) |
Constructor.
array | Zend_Config | $options |
Implements Zend_Form_Decorator_Interface.
clearOptions | ( | ) |
getElement | ( | ) |
Retrieve current element.
Implements Zend_Form_Decorator_Interface.
getOption | ( | $key | ) |
getOptions | ( | ) |
getPlacement | ( | ) |
Determine if decorator should append or prepend content.
getSeparator | ( | ) |
Retrieve separator to use between old and new content.
removeOption | ( | $key | ) |
render | ( | $content | ) |
Decorate content and/or element.
string | $content |
Zend_Form_Decorator_Exception | when unimplemented |
Implements Zend_Form_Decorator_Interface.
setConfig | ( | Zend_Config | $config | ) |
Set options from config object.
Zend_Config | $config |
Implements Zend_Form_Decorator_Interface.
setElement | ( | $element | ) |
Set current form element.
Zend_Form_Element | Zend_Form | $element |
Zend_Form_Decorator_Exception | on invalid element type |
Implements Zend_Form_Decorator_Interface.
setOption | ( | $key, | |
$value | |||
) |
Set option.
string | $key | |
mixed | $value |
Implements Zend_Form_Decorator_Interface.
setOptions | ( | array | $options | ) |
Set options.
array | $options |
Implements Zend_Form_Decorator_Interface.
|
protected |
|
protected |
|
protected |
|
protected |
const APPEND = 'APPEND' |
Placement constants.
const PREPEND = 'PREPEND' |