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

Public Member Functions

 setTag ($tag)
 Set HTML tag with which to surround label.
 
 getTag ()
 Get HTML tag, if any, with which to surround label.
 
 getAttribs ()
 Get attributes to pass to image helper.
 
 render ($content)
 Render a form image.
 
- 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.
 

Protected Attributes

 $_attribBlacklist = array('helper', 'placement', 'separator', 'tag')
 
 $_placement = 'APPEND'
 
 $_tag
 
- Protected Attributes inherited from Zend_Form_Decorator_Abstract
 $_placement = 'APPEND'
 
 $_element
 
 $_options = array()
 
 $_separator = PHP_EOL
 

Additional Inherited Members

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

Member Function Documentation

getAttribs ( )

Get attributes to pass to image helper.

Returns
array
getTag ( )

Get HTML tag, if any, with which to surround label.

Returns
void
render (   $content)

Render a form image.

Parameters
string$content
Returns
string

Implements Zend_Form_Decorator_Interface.

setTag (   $tag)

Set HTML tag with which to surround label.

Parameters
string$tag
Returns
Zend_Form_Decorator_Image

Member Data Documentation

$_attribBlacklist = array('helper', 'placement', 'separator', 'tag')
protected
$_placement = 'APPEND'
protected
$_tag
protected