Dojo/View/Helper/Editor.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 license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Dojo
- Subpackage
- View
- Version
- $Id$
\Zend_Dojo_View_Helper_Editor
Package: Zend_Dojo\View
Dojo Editor dijit
- Parent(s)
- \Zend_Dojo_View_Helper_Dijit < \Zend_View_Helper_HtmlElement < \Zend_View_Helper_Abstract
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
Properties
array $_jsonParams = array('captureEvents', 'events', 'plugins', 'extraPlugins')
JSON-encoded parameters
Default value
array('captureEvents', 'events', 'plugins', 'extraPlugins')
Details- Type
- array
array $_pluginsModules = 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')
Maps non-core plugin to module basename
Default 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')
Details- Type
- array
Methods
_createEditorOnSubmit(string $hiddenId, string $editorId) : void
Create onSubmit binding for element
Parameters
Name | Type | Description |
---|---|---|
$hiddenId | string | |
$editorId | string |
_getRequiredModules(array $plugins) : array
Generates the list of required modules to include, if any is needed.
Parameters
Returns
Name | Type | Description |
---|---|---|
$plugins | array | plugins to include |
Type | Description |
---|---|
array |
_normalizeEditorName(string $name) : string
Normalize editor element name
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
string |