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 |
Definition at line 37 of file AccordionContainer.php.
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
string | $id | |
string | $name | |
string | $content |
Definition at line 57 of file AccordionContainer.php.
getAccordionTemplate | ( | $ | attribs, |
$ | html | ||
) | [protected] |
array | $attribs | |
string | $html |
Definition at line 121 of file AccordionContainer.php.
getElementHtmlTemplate | ( | ) | [protected] |
Definition at line 142 of file AccordionContainer.php.
setElementHtmlTemplate | ( | $ | htmlTemplate ) |
Set the accordion element template
string | $htmlTemplate |
Definition at line 160 of file AccordionContainer.php.