JQuery/View/Helper/TabContainer.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: TabContainer.php 20165 2010-01-09 18:57:56Z bkarwin $  

\ZendX_JQuery_View_Helper_TabContainer

Package: ZendX\JQuery\View
jQuery Tabs Container View Helper
Parent(s)
\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\Zend_Json  

Properties

>VPropertyprotectedarray $_tabs = array()
Save all the pre-rendered tab panes to each tab container
Default valuearray()Details
Type
array
>VPropertyprotected\ZendX_JQuery_View_Helper_JQuery_Container $jquery
inherited
Contains reference to the jQuery view helper
Inherited from: \ZendX_JQuery_View_Helper_UiWidget::$$jquery

Methods

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()
Parameters
NameTypeDescription
$idString
$valueString
$attribsArray
Returns
TypeDescription
Array$attribs
methodpublicaddPane(string $id, string $name, string $content, array $options = array()) : \ZendX_JQuery_View_Helper_TabsContainer

Add Tab to TabsContainer

Parameters
NameTypeDescription
$idstring
$namestring
$contentstring
$optionsarray
Returns
TypeDescription
\ZendX_JQuery_View_Helper_TabsContainer
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()
Parameters
NameTypeDescription
$view\Zend_View_Interface
Returns
TypeDescription
\ZendX_JQuery_View_Helper_Widget
methodpublictabContainer(string $id = null, array $params = array(), array $attribs = array()) : string | \ZendX_JQuery_View_Helper_TabsContainer

Render TabsContainer with all the currently registered tabs.

Render all tabs to the given $id. If no arguments are given the tabsContainer view helper object is returned and can be used for chaining addPane() for tab pane adding.

Parameters
NameTypeDescription
$idstring
$paramsarray
$attribsarray
Returns
TypeDescription
string | \ZendX_JQuery_View_Helper_TabsContainer
Details
Link
http://docs.jquery.com/UI/Tabs  
Documentation was generated by phpDocumentor 2.0.0a12.