API Documentation

JQuery/View/Helper/AccordionContainer.php

Includes Classes 
category
ZendX
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
ZendX_JQuery
subpackage
View
version
$Id: AccordionContainer.php 20165 2010-01-09 18:57:56Z bkarwin $
Classes
ZendX_JQuery_View_Helper_AccordionContainer

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.

ZendX_JQuery_View_Helper_AccordionContainer

Extends from
ZendX_JQuery_View_Helper_UiWidget
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
ZendX_JQuery
subpackage
View
uses
Zend_Json
Properties
$_panes
$_elementHtmlTemplate
Methods
addPane
accordionContainer
getAccordionTemplate
getElementHtmlTemplate
setElementHtmlTemplate

Description

jQuery Accordion View Helper

Properties

$_elementHtmlTemplate

string $_elementHtmlTemplate = 'null'

Details

$_elementHtmlTemplate
string
visibility
protected
default
null
final
false
static
false

$_panes

array $_panes = 'array'

Details

$_panes
array
visibility
protected
default
array
final
false
static
false

Methods

accordionContainer

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

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
$id
string
$params
array
$attribs
array
Details
visibility
public
final
false
static
false
link
http://docs.jquery.com/UI/Accordion

addPane

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

Add Accordion Pane for the Accordion-Id

Arguments
$id
string
$name
string
$content
string
$options
Details
visibility
public
final
false
static
false

getAccordionTemplate

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

Arguments
$attribs
array
$html
string
Output
string
Details
visibility
protected
final
false
static
false

getElementHtmlTemplate

getElementHtmlTemplate( ) : string

Output
string
Details
visibility
protected
final
false
static
false

setElementHtmlTemplate

setElementHtmlTemplate( string $htmlTemplate ) : ZendX_JQuery_View_Helper_AccordionContainer

Set the accordion element template

Arguments
$htmlTemplate
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.