Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Dojo_View_Helper_Editor Class Reference

Public Member Functions

 editor ($id, $value=null, $params=array(), $attribs=array())
 dijit.Editor
 
- Public Member Functions inherited from Zend_Dojo_View_Helper_Dijit
 setView (Zend_View_Interface $view)
 Set view.
 
 getRootNode ()
 Get root node type.
 
 setRootNode ($value)
 Set root node type.
 
 _createFormElement ($id, $value, array $params, array $attribs, $dijit=null)
 Create HTML representation of a dijit form element.
 
- Public Member Functions inherited from Zend_View_Helper_HtmlElement
 getClosingBracket ()
 Get the tag closing bracket.
 
- Public Member Functions inherited from Zend_View_Helper_Abstract
 setView (Zend_View_Interface $view)
 Set the View object.
 
 direct ()
 Strategy pattern: currently unutilized.
 

Protected Member Functions

 _getRequiredModules (array $plugins)
 Generates the list of required modules to include, if any is needed.
 
 _normalizeEditorName ($name)
 Normalize editor element name.
 
 _createEditorOnSubmit ($hiddenId, $editorId)
 Create onSubmit binding for element.
 
- Protected Member Functions inherited from Zend_Dojo_View_Helper_Dijit
 _useDeclarative ()
 Whether or not to use declarative dijit creation.
 
 _useProgrammatic ()
 Whether or not to use programmatic dijit creation.
 
 _useProgrammaticNoScript ()
 Whether or not to use programmatic dijit creation w/o script creation.
 
 _createLayoutContainer ($id, $content, array $params, array $attribs, $dijit=null)
 Create a layout container.
 
 _prepareDijit (array $attribs, array $params, $type, $dijit=null)
 Merge attributes and parameters.
 
 _createDijit ($dijit, $id, array $params)
 Create a dijit programmatically.
 
 _castBoolToString (&$item, $key)
 Cast a boolean to a string value.
 
 _renderHiddenElement ($id, $value)
 Render a hidden element to hold a value.
 
 _createGetParentFormFunction ()
 Create JS function for retrieving parent form.
 
- Protected Member Functions inherited from Zend_View_Helper_HtmlElement
 _isXhtml ()
 Is doctype XHTML?
 
 _isHtml5 ()
 Is doctype HTML5?
 
 _isStrictDoctype ()
 Is doctype strict?
 
 _htmlAttribs ($attribs)
 Converts an associative array to a string of tag attributes.
 
 _normalizeId ($value)
 Normalize an ID.
 

Protected Attributes

 $_dijit = 'dijit.Editor'
 
 $_module = 'dijit.Editor'
 
 $_pluginsModules
 
 $_jsonParams = array('captureEvents', 'events', 'plugins', 'extraPlugins')
 
- Protected Attributes inherited from Zend_Dojo_View_Helper_Dijit
 $_dijit
 
 $_elementType
 
 $_jsonParams = array('constraints')
 
 $_module
 
 $_rootNode = 'div'
 
- Protected Attributes inherited from Zend_View_Helper_HtmlElement
 $_closingBracket = null
 

Additional Inherited Members

- Public Attributes inherited from Zend_Dojo_View_Helper_Dijit
 $dojo
 

Member Function Documentation

_createEditorOnSubmit (   $hiddenId,
  $editorId 
)
protected

Create onSubmit binding for element.

Parameters
string$hiddenId
string$editorId
Returns
void
_getRequiredModules ( array  $plugins)
protected

Generates the list of required modules to include, if any is needed.

Parameters
array$pluginsplugins to include
Returns
array
_normalizeEditorName (   $name)
protected

Normalize editor element name.

Parameters
string$name
Returns
string
editor (   $id,
  $value = null,
  $params = array(),
  $attribs = array() 
)

dijit.Editor

Parameters
string$id
string$value
array$params
array$attribs
Returns
string

Member Data Documentation

$_dijit = 'dijit.Editor'
protected
Parameters
stringDijit type
$_jsonParams = array('captureEvents', 'events', 'plugins', 'extraPlugins')
protected
$_module = 'dijit.Editor'
protected
$_pluginsModules
protected
Initial value:
= 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'
)