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.
Dojo dijit base class
string $_dijit = ''Dijit being used
Detailsstring $_elementType = ''Element type
Detailsarray $_jsonParams = 'array'Parameters that should be JSON encoded
Detailsstring $_module = ''Dojo module to use
Detailsstring $_rootNode = 'div'Root node element type for layout elements
DetailsZend_Dojo_View_Helper_Dojo_Container $dojo = ''
Details_castBoolToString(
mixed $item, string $key
)
:
voidCast a boolean to a string value
Details_createDijit(
string $dijit, string $id, array $params
)
:
voidCreate a dijit programmatically
Details_createFormElement(
string $id, string $value, array $params, array $attribs, string|null $dijit
=
null
)
:
stringCreate HTML representation of a dijit form element
Details_createGetParentFormFunction(
)
:
voidCreate JS function for retrieving parent form
Details_createLayoutContainer(
int $id, string $content, array $params, array $attribs, string|null $dijit
=
null
)
:
stringCreate a layout container
Details_prepareDijit(
array $attribs, array $params, string $type, string $dijit
=
null
)
:
arrayMerge attributes and parameters
Also sets up requires
Details_renderHiddenElement(
string $id, string|int|float $value
)
:
stringRender a hidden element to hold a value
Details_useDeclarative(
)
:
boolWhether or not to use declarative dijit creation
Details_useProgrammatic(
)
:
boolWhether or not to use programmatic dijit creation
Details_useProgrammaticNoScript(
)
:
boolWhether or not to use programmatic dijit creation w/o script creation
DetailsgetRootNode(
)
:
stringGet root node type
DetailssetRootNode(
string $value
)
:
Zend_Dojo_View_Helper_DijitSet root node type
DetailssetView(
Zend_View_Interface $view
)
:
Zend_Dojo_View_Helper_DijitSet view
Set view and enable dojo
Details