Zend Framework  1.12
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Zend_Form_Decorator_Fieldset Class Reference

Public Member Functions

 getOptions ()
 Get options.
 
 setLegend ($value)
 Set legend.
 
 getLegend ()
 Get legend.
 
 render ($content)
 Render a fieldset.
 
- Public Member Functions inherited from Zend_Form_Decorator_Abstract
 __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

 $stripAttribs
 
- Public Attributes inherited from Zend_Form_Decorator_Abstract
const APPEND = 'APPEND'
 Placement constants.
 
const PREPEND = 'PREPEND'
 

Protected Attributes

 $_legend
 
 $_placement = null
 
- Protected Attributes inherited from Zend_Form_Decorator_Abstract
 $_placement = 'APPEND'
 
 $_element
 
 $_options = array()
 
 $_separator = PHP_EOL
 

Member Function Documentation

getLegend ( )

Get legend.

Returns
string
getOptions ( )

Get options.

Merges in element attributes as well.

Returns
array

Implements Zend_Form_Decorator_Interface.

render (   $content)

Render a fieldset.

Parameters
string$content
Returns
string

Implements Zend_Form_Decorator_Interface.

setLegend (   $value)

Set legend.

Parameters
string$value
Returns
Zend_Form_Decorator_Fieldset

Member Data Documentation

$_legend
protected
$_placement = null
protected
$stripAttribs
Initial value:
= array(
'action',
'enctype',
'helper',
'method',
'name',
'accept-charset',
)