Dojo/View/Helper/Editor.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprotected$_dijit = 'dijit.Editor'
Default value'dijit.Editor'Details
Type
n/a
$_dijit
string

Dijit type

>VPropertyprotectedarray $_jsonParams = array('captureEvents', 'events', 'plugins', 'extraPlugins')
JSON-encoded parameters
Default valuearray('captureEvents', 'events', 'plugins', 'extraPlugins')Details
Type
array
>VPropertyprotectedstring $_module = 'dijit.Editor'

Dijit module to load

Default value'dijit.Editor'Details
Type
string
>VPropertyprotectedarray $_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 valuearray('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

methodprotected_createEditorOnSubmit(string $hiddenId, string $editorId) : void

Create onSubmit binding for element

Parameters
NameTypeDescription
$hiddenIdstring
$editorIdstring
methodprotected_getRequiredModules(array $plugins) : array

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

Parameters
NameTypeDescription
$pluginsarray

plugins to include

Returns
TypeDescription
array
methodprotected_normalizeEditorName(string $name) : string

Normalize editor element name

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
string
methodpubliceditor(string $id, string $value = null, array $params = array(), array $attribs = array()) : string

dijit.Editor

Parameters
NameTypeDescription
$idstring
$valuestring
$paramsarray
$attribsarray
Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.2.0 .