Dojo/Form/Element/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
Form_Element  
Version
$Id$  

\Zend_Dojo_Form_Element_Editor

Package: Zend_Dojo\Form_Element
Editor dijit
Parent(s)
\Zend_Dojo_Form_Element_Dijit < \Zend_Form_Element
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Uses
 

Properties

>VPropertypublicstring $helper = 'Editor'

View helper

Default value'Editor'Details
Type
string

Methods

methodpublicaddCaptureEvent(string $event) : \Zend_Dojo_Form_Element_Editor

Add a single event to connect to the editing area

Parameters
NameTypeDescription
$eventstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicaddCaptureEvents(array $events) : \Zend_Dojo_Form_Element_Editor

Add multiple capture events

Parameters
NameTypeDescription
$eventsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicaddEvent(string $event) : \Zend_Dojo_Form_Element_Editor

Add a single event to the dijit

Parameters
NameTypeDescription
$eventstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicaddEvents(array $events) : \Zend_Dojo_Form_Element_Editor

Add multiple events

Parameters
NameTypeDescription
$eventsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicaddExtraPlugin(string $plugin) : \Zend_Dojo_Form_Element_Editor

Add a single editor extra plugin.

Parameters
NameTypeDescription
$pluginstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicaddExtraPlugins( $plugins) : \Zend_Dojo_Form_Element_Editor

Add multiple extra plugins.

Parameters
NameTypeDescription
$plugins
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicaddPlugin(string $plugin) : \Zend_Dojo_Form_Element_Editor

Add a single editor plugin

Parameters
NameTypeDescription
$pluginstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicaddPlugins(array $plugins) : \Zend_Dojo_Form_Element_Editor

Add multiple plugins

Parameters
NameTypeDescription
$pluginsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicaddStyleSheet(string $styleSheet) : \Zend_Dojo_Form_Element_Editor

Add a custom stylesheet

Parameters
NameTypeDescription
$styleSheetstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicaddStyleSheets(array $styleSheets) : \Zend_Dojo_Form_Element_Editor

Add multiple custom stylesheets

Parameters
NameTypeDescription
$styleSheetsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicclearCaptureEvents() : \Zend_Dojo_Form_Element_Editor

Clear all capture events

Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicclearEvents() : \Zend_Dojo_Form_Element_Editor

Clear all events

Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicclearExtraPlugins() : \Zend_Dojo_Form_Element_Editor

Clear all extra plugins.

Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicclearPlugins() : \Zend_Dojo_Form_Element_Editor

Clear all plugins

Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicclearStyleSheets() : \Zend_Dojo_Form_Element_Editor

Clear all stylesheets

Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicgetCaptureEvents() : array

Get all capture events

Returns
TypeDescription
array
methodpublicgetEditActionInterval() : int

Get edit action interval; defaults to 3

Returns
TypeDescription
int
methodpublicgetEvents() : array

Get all events

Returns
TypeDescription
array
methodpublicgetExtraPlugins() : array

Get all extra plugins.

Returns
TypeDescription
array
methodpublicgetFocusOnLoad() : bool

Retrieve focus on load flag

Returns
TypeDescription
bool
methodpublicgetHeight() : string

Retrieve height

Returns
TypeDescription
string
methodpublicgetInheritWidth() : bool

Whether or not to inherit the parent's width

Returns
TypeDescription
bool
methodpublicgetMinHeight() : string

Get minimum height of editor

Returns
TypeDescription
string
methodpublicgetPlugins() : array

Get all plugins

Returns
TypeDescription
array
methodpublicgetStyleSheets() : string

Get all stylesheets

Returns
TypeDescription
string
methodpublicgetUpdateInterval() : int

Get update interval

Returns
TypeDescription
int
methodpublichasCaptureEvent(string $event) : bool

Is a given capture event registered?

Parameters
NameTypeDescription
$eventstring
Returns
TypeDescription
bool
methodpublichasEvent(string $event) : bool

Is a given event registered?

Parameters
NameTypeDescription
$eventstring
Returns
TypeDescription
bool
methodpublichasExtraPlugin(string $plugin) : bool

Is a given extra plugin registered?

Parameters
NameTypeDescription
$pluginstring
Returns
TypeDescription
bool
methodpublichasPlugin(string $plugin) : bool

Is a given plugin registered?

Parameters
NameTypeDescription
$pluginstring
Returns
TypeDescription
bool
methodpublichasStyleSheet(string $styleSheet) : bool

Is a given stylesheet registered?

Parameters
NameTypeDescription
$styleSheetstring
Returns
TypeDescription
bool
methodpublicremoveCaptureEvent(string $event) : \Zend_Dojo_Form_Element_Editor

Remove a given capture event

Parameters
NameTypeDescription
$eventstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicremoveEvent(string $event) : \Zend_Dojo_Form_Element_Editor

Remove a given event

Parameters
NameTypeDescription
$eventstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicremoveExtraPlugin(string $plugin) : \Zend_Dojo_Form_Element_Editor

Remove a given extra plugin.

Parameters
NameTypeDescription
$pluginstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicremovePlugin(string $plugin) : \Zend_Dojo_Form_Element_Editor

Remove a given plugin

Parameters
NameTypeDescription
$pluginstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicremoveStyleSheet(string $styleSheet) : \Zend_Dojo_Form_Element_Editor

Remove a single stylesheet

Parameters
NameTypeDescription
$styleSheetstring
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetCaptureEvents(array $events) : \Zend_Dojo_Form_Element_Editor

Overwrite many capture events at once

Parameters
NameTypeDescription
$eventsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetEditActionInterval(int $interval) : \Zend_Dojo_Form_Element_Editor

Set edit action interval

Parameters
NameTypeDescription
$intervalint
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetEvents(array $events) : \Zend_Dojo_Form_Element_Editor

Overwrite many events at once

Parameters
NameTypeDescription
$eventsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetExtraPlugins(array $plugins) : \Zend_Dojo_Form_Element_Editor

Overwrite many extra plugins at once.

Parameters
NameTypeDescription
$pluginsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetFocusOnLoad(bool $flag) : \Zend_Dojo_Form_Element_Editor

Set focus on load flag

Parameters
NameTypeDescription
$flagbool
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetHeight(string | int $height) : \Zend_Dojo_Form_Element_Editor

Set editor height

Parameters
NameTypeDescription
$heightstring | int
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetInheritWidth(bool $flag) : \Zend_Dojo_Form_Element_Editor

Set whether or not to inherit parent's width

Parameters
NameTypeDescription
$flagbool
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetMinHeight(string | int $minHeight) : \Zend_Dojo_Form_Element_Editor

Set minimum height of editor

Parameters
NameTypeDescription
$minHeightstring | int
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetPlugins(array $plugins) : \Zend_Dojo_Form_Element_Editor

Overwrite many plugins at once

Parameters
NameTypeDescription
$pluginsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetStyleSheets(array $styleSheets) : \Zend_Dojo_Form_Element_Editor

Overwrite all stylesheets

Parameters
NameTypeDescription
$styleSheetsarray
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
methodpublicsetUpdateInterval(int $interval) : \Zend_Dojo_Form_Element_Editor

Set update interval

Parameters
NameTypeDescription
$intervalint
Returns
TypeDescription
\Zend_Dojo_Form_Element_Editor
Documentation was generated by phpDocumentor 2.2.0 .