ClassInterface Zend_Form_Decorator_Interface

Description

Zend_Form_Decorator_Interface

  • version: $Id: Interface.php 18951 2009-11-12 16:26:19Z alexander $
  • copyright: Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Form/Decorator/Interface.php (line 31)


	
			
Method Summary
 void __construct ([array|Zend_Config $options = null])
 mixed getElement ()
 mixed getOption (string $key)
 array getOptions ()
 bool removeOption (string $key)
 string render (string $content)
 Zend_Form_Decorator_Interface setOption (string $key, mixed $value)
Methods
Constructor __construct (line 41)

Constructor

Accept options during initialization.

  • access: public
void __construct ([array|Zend_Config $options = null])
clearOptions (line 114)

Clear all options

  • access: public
getElement (line 59)

Retrieve current element

  • access: public
mixed getElement ()
getOption (line 92)

Retrieve a single option

  • access: public
mixed getOption (string $key)
  • string $key
getOptions (line 99)

Retrieve decorator options

  • access: public
array getOptions ()
removeOption (line 107)

Delete a single option

  • access: public
bool removeOption (string $key)
  • string $key
render (line 122)

Render the element

  • access: public
string render (string $content)
  • string $content: Content to decorate
setConfig (line 75)

Set decorator options from a config object

  • access: public
Zend_Form_Decorator_Interface setConfig ( $config)
setElement (line 52)

Set an element to decorate

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

  • access: public
Zend_Form_Decorator_Interface setElement (mixed $element)
  • mixed $element
setOption (line 84)

Set a single option

  • access: public
Zend_Form_Decorator_Interface setOption (string $key, mixed $value)
  • string $key
  • mixed $value
setOptions (line 67)

Set decorator options from an array

  • access: public
Zend_Form_Decorator_Interface setOptions ( $options)
  • array $options

Documentation generated on Thu, 01 Apr 2010 13:11:47 -0400 by phpDocumentor 1.4.3