Public Member Functions | Protected Member Functions | Protected Attributes

ZendX_JQuery_View_Helper_AccordionContainer Class Reference

Inheritance diagram for ZendX_JQuery_View_Helper_AccordionContainer:
ZendX_JQuery_View_Helper_UiWidget Zend_View_Helper_HtmlElement Zend_View_Helper_Abstract Zend_View_Helper_Interface

Public Member Functions

 addPane ($id, $name, $content, array $options=array())
 accordionContainer ($id=null, array $params=array(), array $attribs=array())
 setElementHtmlTemplate ($htmlTemplate)

Protected Member Functions

 getAccordionTemplate ($attribs, $html)
 getElementHtmlTemplate ()

Protected Attributes

 $_panes = array()
 $_elementHtmlTemplate = null

Detailed Description

Definition at line 37 of file AccordionContainer.php.


Member Function Documentation

accordionContainer ( id = null,
array $  params = array(),
array $  attribs = array() 
)

Render Accordion with the currently registered elements.

If no arguments are given, the accordion object is returned so that chaining the addPane() function allows to register new elements for an accordion.

string $id array $params array $attribs string|ZendX_JQuery_View_Helper_AccordionContainer

Definition at line 82 of file AccordionContainer.php.

addPane ( id,
name,
content,
array $  options = array() 
)

Add Accordion Pane for the Accordion-Id

Parameters:
string$id
string$name
string$content
Returns:
ZendX_JQuery_View_Helper_AccordionContainer

Definition at line 57 of file AccordionContainer.php.

getAccordionTemplate ( attribs,
html 
) [protected]
Parameters:
array$attribs
string$html
Returns:
string

Definition at line 121 of file AccordionContainer.php.

getElementHtmlTemplate (  ) [protected]
Returns:
string

Definition at line 142 of file AccordionContainer.php.

setElementHtmlTemplate ( htmlTemplate )

Set the accordion element template

Parameters:
string$htmlTemplate
Returns:
ZendX_JQuery_View_Helper_AccordionContainer

Definition at line 160 of file AccordionContainer.php.


The documentation for this class was generated from the following file: