JQuery/View/Helper/AccordionPane.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.

Category
ZendX  
Copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
ZendX_JQuery  
Subpackage
View  
Version
$Id: AccordionPane.php 20165 2010-01-09 18:57:56Z bkarwin $  

\ZendX_JQuery_View_Helper_AccordionPane

Package: ZendX\JQuery\View
jQuery Accordion Pane, goes with Accordion Container
Parent(s)
\ZendX_JQuery_View_Helper_UiWidgetPane < \ZendX_JQuery_View_Helper_UiWidget < \Zend_View_Helper_HtmlElement
Copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
\global\ZendX_JQuery_View_Helper_AccordionContainer  

Properties

>VPropertyprotectedarray $_captureInfo = array()
inherited
Current capture additional information
Inherited from: \ZendX_JQuery_View_Helper_UiWidgetPane::$$_captureInfo
Default valuearray()Details
Type
array
Inherited_from
\ZendX_JQuery_View_Helper_UiWidgetPane::$$_captureInfo  
>VPropertyprotectedarray $_captureLock = array()
inherited
Capture Lock information
Inherited from: \ZendX_JQuery_View_Helper_UiWidgetPane::$$_captureLock
Default valuearray()Details
Type
array
Inherited_from
\ZendX_JQuery_View_Helper_UiWidgetPane::$$_captureLock  
>VPropertyprotected\ZendX_JQuery_View_Helper_JQuery_Container $jquery
inherited
Contains reference to the jQuery view helper
Inherited from: \ZendX_JQuery_View_Helper_UiWidget::$$jquery\ZendX_JQuery_View_Helper_UiWidgetPane::$$jquery

Methods

methodprotected_addPane(string $id, string $name, string $content, array $options = array()) : void

Method hooks into Accordion Container and registeres new pane

Parameters
NameTypeDescription
$idstring
$namestring
$contentstring
$optionsarray
methodprotected_prepareAttributes(String $id, String $value, Array $attribs) : Array
inherited

Helps with building the correct Attributes Array structure.

Inherited from: \ZendX_JQuery_View_Helper_UiWidget::_prepareAttributes()\ZendX_JQuery_View_Helper_UiWidgetPane::_prepareAttributes()
Parameters
NameTypeDescription
$idString
$valueString
$attribsArray
Returns
TypeDescription
Array$attribs
methodpublicaccordionPane(string $id = null, string $content = '', array $options = array()) : string | \ZendX_JQuery_View_Helper_AccordionPane

Add accordion pane to the accordion with $id

Directly add an additional pane to the accordion with $id. The title is to be given in the $options array as 'title' key. Additionally when specified with no arguments, the helper returns itsself as object making it possible to use captureStart() and captureEnd() methods.

Parameters
NameTypeDescription
$idstring
$contentstring
$optionsarray
Returns
TypeDescription
string | \ZendX_JQuery_View_Helper_AccordionPane
methodpubliccaptureEnd(string $id) : string
inherited

Finish capturing content for layout container

Inherited from: \ZendX_JQuery_View_Helper_UiWidgetPane::captureEnd()
Parameters
NameTypeDescription
$idstring
Returns
TypeDescription
string
methodpubliccaptureStart(string $id, string $name, array $options = array()) : void
inherited

Begin capturing content for layout container

Inherited from: \ZendX_JQuery_View_Helper_UiWidgetPane::captureStart()
Parameters
NameTypeDescription
$idstring
$namestring
$optionsarray
methodpublicsetView(\Zend_View_Interface $view) : \ZendX_JQuery_View_Helper_Widget
inherited

Set view and enable jQuery Core and UI libraries

Inherited from: \ZendX_JQuery_View_Helper_UiWidget::setView()\ZendX_JQuery_View_Helper_UiWidgetPane::setView()
Parameters
NameTypeDescription
$view\Zend_View_Interface
Returns
TypeDescription
\ZendX_JQuery_View_Helper_Widget
Documentation was generated by phpDocumentor 2.0.0a12.