Dojo/View/Helper/DijitContainer.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
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Dojo  
Subpackage
View  
Version
$Id: DijitContainer.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Dojo_View_Helper_DijitContainer

Package: Zend\Dojo\View
Dijit layout container base class
Parent(s)
\Zend_Dojo_View_Helper_Dijit < \Zend_View_Helper_HtmlElement < \Zend_View_Helper_Abstract
Children
\Zend_Dojo_View_Helper_ContentPane
\Zend_Dojo_View_Helper_SplitContainer
\Zend_Dojo_View_Helper_CustomDijit
\Zend_Dojo_View_Helper_TabContainer
\Zend_Dojo_View_Helper_AccordionContainer
\Zend_Dojo_View_Helper_BorderContainer
\Zend_Dojo_View_Helper_StackContainer
\Zend_Dojo_View_Helper_AccordionPane
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
\global\Zend_Dojo_View_Helper_Dijit  

Constants

Properties

>VPropertyprotectedarray $_captureInfo = array()
Metadata information to use with captured content
Default valuearray()Details
Type
array
>VPropertyprotectedarray $_captureLock = array()
Capture locks
Default valuearray()Details
Type
array
>VPropertyprotectedstring $_closingBracket = null
Default valuenullDetails
Type
string
Inherited_from
\Zend_View_Helper_HtmlElement::$$_closingBracket  
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_closingBracket  
>VPropertyprotectedstring $_dijit
inherited
Dijit being used
Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_dijit
Details
Type
string
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_dijit  
>VPropertyprotectedstring $_elementType
inherited
Element type
Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_elementType
Details
Type
string
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_elementType  
>VPropertyprotectedarray $_jsonParams = array('constraints')
inherited
Parameters that should be JSON encoded
Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_jsonParams
Default valuearray('constraints')Details
Type
array
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_jsonParams  
>VPropertyprotectedstring $_module
inherited
Dojo module to use
Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_module
Details
Type
string
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_module  
>VPropertyprotectedstring $_rootNode = 'div'
inherited
Root node element type for layout elements
Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_rootNode
Default value'div'Details
Type
string
Inherited_from
\Zend_Dojo_View_Helper_Dijit::$$_rootNode  
>VPropertypublic\Zend_Dojo_View_Helper_Dojo_Container $dojo
inherited
Inherited from: \Zend_Dojo_View_Helper_Dijit::$$dojo

Methods

methodprotected_castBoolToString(mixed $item, string $key) : void
inherited

Cast a boolean to a string value

Inherited from: \Zend_Dojo_View_Helper_Dijit::_castBoolToString()
Parameters
NameTypeDescription
$itemmixed
$keystring
methodprotected_createDijit(string $dijit, string $id, array $params) : void
inherited

Create a dijit programmatically

Inherited from: \Zend_Dojo_View_Helper_Dijit::_createDijit()
Parameters
NameTypeDescription
$dijitstring
$idstring
$paramsarray
methodpublic_createFormElement(string $id, string $value, array $params, array $attribs, string | null $dijit = null) : string
inherited

Create HTML representation of a dijit form element

Inherited from: \Zend_Dojo_View_Helper_Dijit::_createFormElement()
Parameters
NameTypeDescription
$idstring
$valuestring
$paramsarray
$attribsarray
$dijitstring | null
Returns
TypeDescription
string
methodprotected_createGetParentFormFunction() : void
inherited

Create JS function for retrieving parent form

Inherited from: \Zend_Dojo_View_Helper_Dijit::_createGetParentFormFunction()
methodprotected_createLayoutContainer(int $id, string $content, array $params, array $attribs, string | null $dijit = null) : string
inherited

Create a layout container

Inherited from: \Zend_Dojo_View_Helper_Dijit::_createLayoutContainer()
Parameters
NameTypeDescription
$idint
$contentstring
$paramsarray
$attribsarray
$dijitstring | null
Returns
TypeDescription
string
methodprotected_htmlAttribs(array $attribs) : string
inherited

Converts an associative array to a string of tag attributes.

Inherited from: \Zend_View_Helper_HtmlElement::_htmlAttribs()\Zend_Dojo_View_Helper_Dijit::_htmlAttribs()
Parameters
NameTypeDescription
$attribsarray

From this array, each key-value pair is converted to an attribute name and value.

Returns
TypeDescription
stringThe XHTML for the attributes.
Details
Access
public  
methodprotected_isStrictDoctype() : boolean
Returns
TypeDescription
boolean
methodprotected_isXhtml() : boolean
Returns
TypeDescription
boolean
methodprotected_normalizeId(string $value) : string
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
string
methodprotected_prepareDijit(array $attribs, array $params, string $type, string $dijit = null) : array
inherited

Merge attributes and parameters

Inherited from: \Zend_Dojo_View_Helper_Dijit::_prepareDijit()

Also sets up requires

Parameters
NameTypeDescription
$attribsarray
$paramsarray
$typestring
$dijitstring

Dijit type to use (otherwise, pull from $_dijit)

Returns
TypeDescription
array
methodprotected_renderHiddenElement(string $id, string | int | float $value) : string
inherited

Render a hidden element to hold a value

Inherited from: \Zend_Dojo_View_Helper_Dijit::_renderHiddenElement()
Parameters
NameTypeDescription
$idstring
$valuestring | int | float
Returns
TypeDescription
string
methodprotected_useDeclarative() : bool
inherited

Whether or not to use declarative dijit creation

Inherited from: \Zend_Dojo_View_Helper_Dijit::_useDeclarative()
Returns
TypeDescription
bool
methodprotected_useProgrammatic() : bool
inherited

Whether or not to use programmatic dijit creation

Inherited from: \Zend_Dojo_View_Helper_Dijit::_useProgrammatic()
Returns
TypeDescription
bool
methodprotected_useProgrammaticNoScript() : bool
inherited

Whether or not to use programmatic dijit creation w/o script creation

Inherited from: \Zend_Dojo_View_Helper_Dijit::_useProgrammaticNoScript()
Returns
TypeDescription
bool
methodpubliccaptureEnd(string $id) : string

Finish capturing content for layout container

Parameters
NameTypeDescription
$idstring
Returns
TypeDescription
string
methodpubliccaptureStart(string $id, array $params = array(), array $attribs = array()) : void

Begin capturing content for layout container

Parameters
NameTypeDescription
$idstring
$paramsarray
$attribsarray
methodpublicdirect() : void
methodpublicgetClosingBracket() : string
Returns
TypeDescription
string
methodpublicgetRootNode() : string
inherited

Get root node type

Inherited from: \Zend_Dojo_View_Helper_Dijit::getRootNode()
Returns
TypeDescription
string
methodpublicsetRootNode(string $value) : \Zend_Dojo_View_Helper_Dijit
inherited

Set root node type

Inherited from: \Zend_Dojo_View_Helper_Dijit::setRootNode()
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Dojo_View_Helper_Dijit
methodpublicsetView(\Zend_View_Interface $view) : \Zend_Dojo_View_Helper_Dijit
inherited

Set view

Inherited from: \Zend_Dojo_View_Helper_Dijit::setView()

Set view and enable dojo

Parameters
NameTypeDescription
$view\Zend_View_Interface
Returns
TypeDescription
\Zend_Dojo_View_Helper_Dijit
Documentation was generated by phpDocumentor 2.0.0a12.