uses |
|
package |
Zend_Dojo |
subpackage |
View |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_Dojo_View_Helper_Dijit |
Methods
Strategy pattern: currently unutilized
direct() : void
Inherited
inherited_from |
\Zend_View_Helper_Interface::direct() |
dijit.Editor
editor(string $id, string $value = null
, array $params = array()
, array $attribs = array()
) : string
Parameters
$id
string
$value
string
$params
array
$attribs
array
Returns
string
Get the tag closing bracket
getClosingBracket() : string
Inherited
Get root node type
getRootNode() : string
Inherited
Set root node type
setRootNode(string $value) : \Zend_Dojo_View_Helper_Dijit
Inherited
Parameters
$value
string
Returns
\Zend_Dojo_View_Helper_Dijit
Set the View object
setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Inherited
inherited_from |
\Zend_View_Helper_Interface::setView() |
Parameters
$view
\Zend_View_Interface
Returns
\Zend_View_Helper_Abstract
Cast a boolean to a string value
_castBoolToString(mixed $item, string $key) : void
Inherited
Parameters
$item
mixed
$key
string
Create a dijit programmatically
_createDijit(string $dijit, string $id, array $params) : void
Inherited
Parameters
$dijit
string
$id
string
$params
array
Create onSubmit binding for element
_createEditorOnSubmit(string $hiddenId, string $editorId) : void
Parameters
$hiddenId
string
$editorId
string
Create a layout container
_createLayoutContainer(integer $id, string $content, array $params, array $attribs, string|null $dijit = null
) : string
Inherited
Parameters
$id
integer
$content
string
$params
array
$attribs
array
$dijit
string
null
Returns
string
Generates the list of required modules to include, if any is needed.
_getRequiredModules(array $plugins) : array
Parameters
$plugins
array
plugins to include
Returns
array
Converts an associative array to a string of tag attributes.
_htmlAttribs(array $attribs) : string
Inherited
Parameters
$attribs
array
From this array, each key-value pair is
converted to an attribute name and value.
Returns
string
The XHTML for the attributes.
Is doctype HTML5?
_isHtml5() : boolean
Inherited
Is doctype strict?
_isStrictDoctype() : boolean
Inherited
Is doctype XHTML?
_isXhtml() : boolean
Inherited
Normalize editor element name
_normalizeEditorName(string $name) : string
Parameters
$name
string
Returns
string
Normalize an ID
_normalizeId(string $value) : string
Inherited
Parameters
$value
string
Returns
string
Merge attributes and parameters
_prepareDijit(array $attribs, array $params, string $type, string $dijit = null
) : array
Inherited
Parameters
$attribs
array
$params
array
$type
string
$dijit
string
Dijit type to use (otherwise, pull from $_dijit)
Returns
array
Render a hidden element to hold a value
_renderHiddenElement(string $id, string|integer|float $value) : string
Inherited
Parameters
$id
string
$value
string
integer
float
Returns
string
Whether or not to use declarative dijit creation
_useDeclarative() : boolean
Inherited
Whether or not to use programmatic dijit creation
_useProgrammatic() : boolean
Inherited
Whether or not to use programmatic dijit creation w/o script creation
_useProgrammaticNoScript() : boolean
Inherited
Properties
$dojo
$dojo : \Zend_Dojo_View_Helper_Dojo_Container
View object
$view : \Zend_View_Interface
The tag closing bracket
$_closingBracket : string
Dijit being used
$_dijit
param |
Dijit type |
inherited_from |
\Zend_Dojo_View_Helper_Dijit::_dijit |
Dijit being used
$_dijit : string
Element type
$_elementType : string
JSON-encoded parameters
$_jsonParams : array
Default
array('captureEvents', 'events', 'plugins', 'extraPlugins')
inherited_from |
\Zend_Dojo_View_Helper_Dijit::_jsonParams |
Parameters that should be JSON encoded
$_jsonParams : array
Default
array('constraints')
Dojo module to use
$_module : string
inherited_from |
\Zend_Dojo_View_Helper_Dijit::_module |
Dojo module to use
$_module : string
Maps non-core plugin to module basename
$_pluginsModules : array
Default
array('createLink' => 'LinkDialog', 'insertImage' => 'LinkDialog', 'fontName' => 'FontChoice', 'fontSize' => 'FontChoice', 'formatBlock' => 'FontChoice', 'foreColor' => 'TextColor', 'hiliteColor' => 'TextColor', 'enterKeyHandling' => 'EnterKeyHandling', 'fullScreen' => 'FullScreen', 'newPage' => 'NewPage', 'print' => 'Print', 'tabIndent' => 'TabIndent', 'toggleDir' => 'ToggleDir', 'viewSource' => 'ViewSource')
Root node element type for layout elements
$_rootNode : string
Constants