Zend Framework
1.12
|
Public Member Functions | |
setTag ($tag) | |
Set HTML tag with which to surround description. | |
getTag () | |
Get HTML tag, if any, with which to surround description. | |
getClass () | |
Get class with which to define description. | |
setEscape ($flag) | |
Set whether or not to escape description. | |
getEscape () | |
Get escape flag. | |
render ($content) | |
Render a description. | |
![]() | |
__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. | |
Protected Attributes | |
$_escape | |
$_placement = 'APPEND' | |
$_tag | |
![]() | |
$_placement = 'APPEND' | |
$_element | |
$_options = array() | |
$_separator = PHP_EOL | |
Additional Inherited Members | |
![]() | |
const | APPEND = 'APPEND' |
Placement constants. | |
const | PREPEND = 'PREPEND' |
getClass | ( | ) |
Get class with which to define description.
Defaults to 'hint'
getEscape | ( | ) |
Get escape flag.
getTag | ( | ) |
Get HTML tag, if any, with which to surround description.
render | ( | $content | ) |
Render a description.
string | $content |
Implements Zend_Form_Decorator_Interface.
setEscape | ( | $flag | ) |
Set whether or not to escape description.
bool | $flag |
setTag | ( | $tag | ) |
Set HTML tag with which to surround description.
string | $tag |
|
protected |
|
protected |
|
protected |