uses |
|
package |
ZendX_JQuery |
subpackage |
View |
copyright |
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\ZendX_JQuery_View_Helper_UiWidget |
Methods
Render Accordion with the currently registered elements.
accordionContainer(string $id = null
, array $params = array()
, array $attribs = array()
) : string | \ZendX_JQuery_View_Helper_AccordionContainer
If no arguments are given, the accordion object is returned so that
chaining the \addPane() function allows to register new elements
for an accordion.
Parameters
$id
string
$params
array
$attribs
array
Returns
string
\ZendX_JQuery_View_Helper_AccordionContainer
Add Accordion Pane for the Accordion-Id
addPane(string $id, string $name, string $content, array $options = array()
) : \ZendX_JQuery_View_Helper_AccordionContainer
Parameters
$id
string
$name
string
$content
string
$options
array
Returns
\ZendX_JQuery_View_Helper_AccordionContainer
Set the accordion element template
setElementHtmlTemplate(string $htmlTemplate) : \ZendX_JQuery_View_Helper_AccordionContainer
Parameters
$htmlTemplate
string
Exceptions
\ZendX_JQuery_View_Exception |
|
Returns
\ZendX_JQuery_View_Helper_AccordionContainer
Set view and enable jQuery Core and UI libraries
setView(\Zend_View_Interface $view) : \ZendX_JQuery_View_Helper_Widget
Inherited
Parameters
$view
\Zend_View_Interface
Returns
\ZendX_JQuery_View_Helper_Widget
Helps with building the correct Attributes Array structure.
_prepareAttributes(String $id, String $value, Array $attribs) : Array
Inherited
Parameters
$id
String
$value
String
$attribs
Array
Returns
Array
$attribs
getAccordionTemplate()
getAccordionTemplate(array $attribs, string $html) : string
Parameters
$attribs
array
$html
string
Returns
string
getElementHtmlTemplate()
getElementHtmlTemplate() : string
Properties
$_elementHtmlTemplate
$_elementHtmlTemplate : string
Contains reference to the jQuery view helper
$jquery : \ZendX_JQuery_View_Helper_JQuery_Container