Dojo/View/Helper/SplitContainer.php
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 [email protected] 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: SplitContainer.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Dojo_View_Helper_SplitContainer
Dojo SplitContainer dijit
- Parent(s)
- \Zend_Dojo_View_Helper_DijitContainer < \Zend_Dojo_View_Helper_Dijit < \Zend_View_Helper_HtmlElement < \Zend_View_Helper_Abstract
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\Zend_Dojo_View_Helper_DijitContainer
Constants

EOL
= "\n"
EOL character
Inherited from: \Zend_View_Helper_HtmlElement::EOL\Zend_Dojo_View_Helper_Dijit::EOL\Zend_Dojo_View_Helper_DijitContainer::EOL- Inherited_from
- \Zend_View_Helper_HtmlElement::EOL
- Inherited_from
- \Zend_Dojo_View_Helper_Dijit::EOL
- Inherited_from
- \Zend_Dojo_View_Helper_DijitContainer::EOL
Properties


array $_captureInfo = array()
Metadata information to use with captured content
Inherited from: \Zend_Dojo_View_Helper_DijitContainer::$$_captureInfoarray()
Details- Type
- array
- Inherited_from
- \Zend_Dojo_View_Helper_DijitContainer::$$_captureInfo


array $_captureLock = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Dojo_View_Helper_DijitContainer::$$_captureLock


string $_closingBracket = null
The tag closing bracket
Inherited from: \Zend_View_Helper_HtmlElement::$$_closingBracket\Zend_Dojo_View_Helper_Dijit::$$_closingBracket\Zend_Dojo_View_Helper_DijitContainer::$$_closingBracketnull
Details- Type
- string
- Inherited_from
- \Zend_View_Helper_HtmlElement::$$_closingBracket
- Inherited_from
- \Zend_Dojo_View_Helper_Dijit::$$_closingBracket
- Inherited_from
- \Zend_Dojo_View_Helper_DijitContainer::$$_closingBracket


string $_dijit = 'dijit.layout.SplitContainer'
Dijit being used
'dijit.layout.SplitContainer'
Details- Type
- string


string $_elementType =
Element type
Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_elementType\Zend_Dojo_View_Helper_DijitContainer::$$_elementType- Type
- string
- Inherited_from
- \Zend_Dojo_View_Helper_Dijit::$$_elementType
- Inherited_from
- \Zend_Dojo_View_Helper_DijitContainer::$$_elementType


array $_jsonParams = array('constraints')
Parameters that should be JSON encoded
Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_jsonParams\Zend_Dojo_View_Helper_DijitContainer::$$_jsonParamsarray('constraints')
Details- Type
- array
- Inherited_from
- \Zend_Dojo_View_Helper_Dijit::$$_jsonParams
- Inherited_from
- \Zend_Dojo_View_Helper_DijitContainer::$$_jsonParams


string $_module = 'dijit.layout.SplitContainer'
Dojo module to use
'dijit.layout.SplitContainer'
Details- Type
- string


string $_rootNode = 'div'
Root node element type for layout elements
Inherited from: \Zend_Dojo_View_Helper_Dijit::$$_rootNode\Zend_Dojo_View_Helper_DijitContainer::$$_rootNode'div'
Details- Type
- string
- Inherited_from
- \Zend_Dojo_View_Helper_Dijit::$$_rootNode
- Inherited_from
- \Zend_Dojo_View_Helper_DijitContainer::$$_rootNode


\Zend_Dojo_View_Helper_Dojo_Container $dojo =
- Type
- \Zend_Dojo_View_Helper_Dojo_Container
- Inherited_from
- \Zend_Dojo_View_Helper_Dijit::$$dojo
- Inherited_from
- \Zend_Dojo_View_Helper_DijitContainer::$$dojo


\Zend_View_Interface $view = null
View object
Inherited from: \Zend_View_Helper_Abstract::$$view\Zend_View_Helper_HtmlElement::$$view\Zend_Dojo_View_Helper_Dijit::$$view\Zend_Dojo_View_Helper_DijitContainer::$$viewnull
Details- Type
- \Zend_View_Interface
- Inherited_from
- \Zend_View_Helper_Abstract::$$view
- Inherited_from
- \Zend_View_Helper_HtmlElement::$$view
- Inherited_from
- \Zend_Dojo_View_Helper_Dijit::$$view
- Inherited_from
- \Zend_Dojo_View_Helper_DijitContainer::$$view
Methods


_castBoolToString(mixed $item, string $key) : void
Cast a boolean to a string value
Inherited from: \Zend_Dojo_View_Helper_Dijit::_castBoolToString()\Zend_Dojo_View_Helper_DijitContainer::_castBoolToString()Name | Type | Description |
---|---|---|
$item | mixed | |
$key | string |


_createDijit(string $dijit, string $id, array $params) : void
Create a dijit programmatically
Inherited from: \Zend_Dojo_View_Helper_Dijit::_createDijit()\Zend_Dojo_View_Helper_DijitContainer::_createDijit()Name | Type | Description |
---|---|---|
$dijit | string | |
$id | string | |
$params | array |


_createFormElement(string $id, string $value, array $params, array $attribs, string | null $dijit = null) : string
Create HTML representation of a dijit form element
Inherited from: \Zend_Dojo_View_Helper_Dijit::_createFormElement()\Zend_Dojo_View_Helper_DijitContainer::_createFormElement()Name | Type | Description |
---|---|---|
$id | string | |
$value | string | |
$params | array | |
$attribs | array | |
$dijit | string | null |
Type | Description |
---|---|
string |


_createGetParentFormFunction() : void
Create JS function for retrieving parent form
Inherited from: \Zend_Dojo_View_Helper_Dijit::_createGetParentFormFunction()\Zend_Dojo_View_Helper_DijitContainer::_createGetParentFormFunction()

_createLayoutContainer(int $id, string $content, array $params, array $attribs, string | null $dijit = null) : string
Create a layout container
Inherited from: \Zend_Dojo_View_Helper_Dijit::_createLayoutContainer()\Zend_Dojo_View_Helper_DijitContainer::_createLayoutContainer()Name | Type | Description |
---|---|---|
$id | int | |
$content | string | |
$params | array | |
$attribs | array | |
$dijit | string | null |
Type | Description |
---|---|
string |


_htmlAttribs(array $attribs) : string
Converts an associative array to a string of tag attributes.
Inherited from: \Zend_View_Helper_HtmlElement::_htmlAttribs()\Zend_Dojo_View_Helper_Dijit::_htmlAttribs()\Zend_Dojo_View_Helper_DijitContainer::_htmlAttribs()Name | Type | Description |
---|---|---|
$attribs | array | From this array, each key-value pair is converted to an attribute name and value. |
Type | Description |
---|---|
string | The XHTML for the attributes. |
- Access
- public


_isStrictDoctype() : boolean
Is doctype strict?
Inherited from: \Zend_View_Helper_HtmlElement::_isStrictDoctype()\Zend_Dojo_View_Helper_Dijit::_isStrictDoctype()\Zend_Dojo_View_Helper_DijitContainer::_isStrictDoctype()Type | Description |
---|---|
boolean |


_isXhtml() : boolean
Is doctype XHTML?
Inherited from: \Zend_View_Helper_HtmlElement::_isXhtml()\Zend_Dojo_View_Helper_Dijit::_isXhtml()\Zend_Dojo_View_Helper_DijitContainer::_isXhtml()Type | Description |
---|---|
boolean |


_normalizeId(string $value) : string
Normalize an ID
Inherited from: \Zend_View_Helper_HtmlElement::_normalizeId()\Zend_Dojo_View_Helper_Dijit::_normalizeId()\Zend_Dojo_View_Helper_DijitContainer::_normalizeId()Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
string |


_prepareDijit(array $attribs, array $params, string $type, string $dijit = null) : array
Merge attributes and parameters
Inherited from: \Zend_Dojo_View_Helper_Dijit::_prepareDijit()\Zend_Dojo_View_Helper_DijitContainer::_prepareDijit()Also sets up requires
Name | Type | Description |
---|---|---|
$attribs | array | |
$params | array | |
$type | string | |
$dijit | string | Dijit type to use (otherwise, pull from $_dijit) |
Type | Description |
---|---|
array |


_renderHiddenElement(string $id, string | int | float $value) : string
Render a hidden element to hold a value
Inherited from: \Zend_Dojo_View_Helper_Dijit::_renderHiddenElement()\Zend_Dojo_View_Helper_DijitContainer::_renderHiddenElement()Name | Type | Description |
---|---|---|
$id | string | |
$value | string | int | float |
Type | Description |
---|---|
string |


_useDeclarative() : bool
Whether or not to use declarative dijit creation
Inherited from: \Zend_Dojo_View_Helper_Dijit::_useDeclarative()\Zend_Dojo_View_Helper_DijitContainer::_useDeclarative()Type | Description |
---|---|
bool |


_useProgrammatic() : bool
Whether or not to use programmatic dijit creation
Inherited from: \Zend_Dojo_View_Helper_Dijit::_useProgrammatic()\Zend_Dojo_View_Helper_DijitContainer::_useProgrammatic()Type | Description |
---|---|
bool |


_useProgrammaticNoScript() : bool
Whether or not to use programmatic dijit creation w/o script creation
Inherited from: \Zend_Dojo_View_Helper_Dijit::_useProgrammaticNoScript()\Zend_Dojo_View_Helper_DijitContainer::_useProgrammaticNoScript()Type | Description |
---|---|
bool |


captureEnd(string $id) : string
Finish capturing content for layout container
Inherited from: \Zend_Dojo_View_Helper_DijitContainer::captureEnd()Name | Type | Description |
---|---|---|
$id | string |
Type | Description |
---|---|
string |


captureStart(string $id, array $params = array(), array $attribs = array()) : void
Begin capturing content for layout container
Inherited from: \Zend_Dojo_View_Helper_DijitContainer::captureStart()Name | Type | Description |
---|---|---|
$id | string | |
$params | array | |
$attribs | array |


direct() : void
Strategy pattern: currently unutilized
Inherited from: \Zend_View_Helper_Abstract::direct()\Zend_View_Helper_HtmlElement::direct()\Zend_Dojo_View_Helper_Dijit::direct()\Zend_Dojo_View_Helper_DijitContainer::direct()

getClosingBracket() : string
Get the tag closing bracket
Inherited from: \Zend_View_Helper_HtmlElement::getClosingBracket()\Zend_Dojo_View_Helper_Dijit::getClosingBracket()\Zend_Dojo_View_Helper_DijitContainer::getClosingBracket()Type | Description |
---|---|
string |


getRootNode() : string
Get root node type
Inherited from: \Zend_Dojo_View_Helper_Dijit::getRootNode()\Zend_Dojo_View_Helper_DijitContainer::getRootNode()Type | Description |
---|---|
string |


setRootNode(string $value) : \Zend_Dojo_View_Helper_Dijit
Set root node type
Inherited from: \Zend_Dojo_View_Helper_Dijit::setRootNode()\Zend_Dojo_View_Helper_DijitContainer::setRootNode()Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Dojo_View_Helper_Dijit |


setView(\Zend_View_Interface $view) : \Zend_Dojo_View_Helper_Dijit
Set view
Inherited from: \Zend_Dojo_View_Helper_Dijit::setView()\Zend_Dojo_View_Helper_DijitContainer::setView()Set view and enable dojo
Name | Type | Description |
---|---|---|
$view | \Zend_View_Interface |
Type | Description |
---|---|
\Zend_Dojo_View_Helper_Dijit |


splitContainer(string $id = null, string $content = '', array $params = array(), array $attribs = array()) : string
dijit.layout.SplitContainer
Name | Type | Description |
---|---|---|
$id | string | |
$content | string | |
$params | array | Parameters to use for dijit creation |
$attribs | array | HTML attributes |
Type | Description |
---|---|
string |