API Documentation

ZendX/JQuery/View/Helper/AccordionContainer.php

Includes |Classes |

Properties

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.


Includes

ZendX/JQuery/View/Helper/UiWidget.php (Require Once)

Classes

ZendX_JQuery_View_Helper_AccordionContainer

Description

jQuery Accordion View Helper

Methods

accordionContainer, addPane, getAccordionTemplate, getElementHtmlTemplate, setElementHtmlTemplate,

accordionContainer( string   $id = null, array   $params = array, array   $attribs = array, ) : string|ZendX_JQuery_View_Helper_AccordionContainer

Description

Render Accordion with the currently registered elements.

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


Arguments

Name Type Description Default
$id string | null
$params array | array
$attribs array | array

Return value

Type Description
string|ZendX_JQuery_View_Helper_AccordionContainer

Tags

Name Description
link http://docs.jquery.com/UI/Accordion

addPane( string   $id, string   $name, string   $content,   $options = array, ) : ZendX_JQuery_View_Helper_AccordionContainer

Description

Add Accordion Pane for the Accordion-Id

Arguments

Name Type Description Default
$id string |
$name string |
$content string |
$options n/a array

Return value

Type Description
ZendX_JQuery_View_Helper_AccordionContainer

getAccordionTemplate( array   $attribs, string   $html, ) : string

Description


Arguments

Name Type Description Default
$attribs array |
$html string |

Return value

Type Description
string

getElementHtmlTemplate( ) : string

Description


Return value

Type Description
string

setElementHtmlTemplate( string   $htmlTemplate, ) : ZendX_JQuery_View_Helper_AccordionContainer

Description

Set the accordion element template

Arguments

Name Type Description Default
$htmlTemplate string |

Return value

Type Description
ZendX_JQuery_View_Helper_AccordionContainer

Properties

$_elementHtmlTemplate, $_panes,

  protected  $_elementHtmlTemplate = null

string


  protected  $_panes = array

array


Documentation was generated by DocBlox.