TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu Class Reference
Inheritance diagram for TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu:
TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi tx_rtehtmlarea_contextmenu

Public Member Functions

 main ($parentObject)
 
 buildJavascriptConfiguration ($editorId)
 
- Public Member Functions inherited from TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi
 main ($parentObject)
 
 addButtonsToToolbar ()
 
 getPathToSkin ()
 
 buildJavascriptConfiguration ($RTEcounter)
 
 getExtensionKey ()
 
 getPathToPluginDirectory ()
 
 addsButtons ()
 
 getPluginButtons ()
 
 getPluginLabels ()
 
 getConvertToolbarForHtmlAreaArray ()
 
 requiresClassesConfiguration ()
 
 requiresSynchronousLoad ()
 
 setSynchronousLoad ($value=TRUE)
 
 getRequiredPlugins ()
 

Protected Attributes

 $extensionKey = 'rtehtmlarea'
 
 $pluginName = 'ContextMenu'
 
 $relativePathToLocallangFile = ''
 
 $relativePathToSkin = ''
 
 $htmlAreaRTE
 
 $thisConfig
 
 $toolbar
 
 $LOCAL_LANG
 
 $pluginButtons
 
 $convertToolbarForHtmlAreaArray = array()
 
- Protected Attributes inherited from TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi
 $extensionKey
 
 $pluginName
 
 $relativePathToLocallangFile
 
 $relativePathToSkin
 
 $relativePathToPluginDirectory
 
 $htmlAreaRTE
 
 $rteExtensionKey
 
 $thisConfig
 
 $toolbar
 
 $LOCAL_LANG
 
 $pluginButtons = ''
 
 $pluginLabels = ''
 
 $pluginAddsButtons = TRUE
 
 $convertToolbarForHtmlAreaArray = array()
 
 $requiresClassesConfiguration = FALSE
 
 $requiresSynchronousLoad = FALSE
 
 $requiredPlugins = ''
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Context Menu plugin for htmlArea RTE

Author
Stanislas Rolland <typo3(arobas)sjbr.ca>

Definition at line 21 of file ContextMenu.php.

Member Function Documentation

◆ buildJavascriptConfiguration()

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::buildJavascriptConfiguration (   $editorId)

Return JS configuration of the htmlArea plugins registered by the extension

Parameters
integerRelative id of the RTE editing area in the form
Returns
string JS configuration for registered plugins

Definition at line 62 of file ContextMenu.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\strtolower(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ main()

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::main (   $parentObject)

Definition at line 51 of file ContextMenu.php.

Member Data Documentation

◆ $convertToolbarForHtmlAreaArray

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$convertToolbarForHtmlAreaArray = array()
protected

Definition at line 49 of file ContextMenu.php.

◆ $extensionKey

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$extensionKey = 'rtehtmlarea'
protected

Definition at line 23 of file ContextMenu.php.

◆ $htmlAreaRTE

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$htmlAreaRTE
protected

Definition at line 35 of file ContextMenu.php.

◆ $LOCAL_LANG

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$LOCAL_LANG
protected

Definition at line 44 of file ContextMenu.php.

◆ $pluginButtons

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$pluginButtons
protected

Definition at line 47 of file ContextMenu.php.

◆ $pluginName

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$pluginName = 'ContextMenu'
protected

Definition at line 26 of file ContextMenu.php.

◆ $relativePathToLocallangFile

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$relativePathToLocallangFile = ''
protected

Definition at line 29 of file ContextMenu.php.

◆ $relativePathToSkin

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$relativePathToSkin = ''
protected

Definition at line 32 of file ContextMenu.php.

◆ $thisConfig

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$thisConfig
protected

Definition at line 38 of file ContextMenu.php.

◆ $toolbar

TYPO3\CMS\Rtehtmlarea\Extension\ContextMenu::$toolbar
protected

Definition at line 41 of file ContextMenu.php.