TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color Class Reference
Inheritance diagram for TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color:
TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi tx_rtehtmlarea_typo3color

Public Member Functions

 main ($parentObject)
 
 buildJavascriptConfiguration ($RTEcounter)
 
 buildJSColorsConfig ($RTEcounter)
 
- 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 = 'TYPO3Color'
 
 $relativePathToLocallangFile = 'extensions/TYPO3Color/locallang.xlf'
 
 $relativePathToSkin = 'extensions/TYPO3Color/skin/htmlarea.css'
 
 $htmlAreaRTE
 
 $thisConfig
 
 $toolbar
 
 $LOCAL_LANG
 
 $pluginButtons = 'textcolor,bgcolor'
 
 $convertToolbarForHtmlAreaArray
 
- 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! TYPO3 Color plugin for htmlArea RTE

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

Definition at line 21 of file Typo3Color.php.

Member Function Documentation

◆ buildJavascriptConfiguration()

TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color::buildJavascriptConfiguration (   $RTEcounter)

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 64 of file Typo3Color.php.

References TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color\buildJSColorsConfig().

◆ buildJSColorsConfig()

TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color::buildJSColorsConfig (   $RTEcounter)

Return Javascript configuration of colors

Parameters
integer$RTEcounter,The index number of the current RTE editing area within the form.
Returns
string Javascript configuration of colors
Todo:
Define visibility

Definition at line 77 of file Typo3Color.php.

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

Referenced by TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color\buildJavascriptConfiguration().

◆ main()

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

Definition at line 54 of file Typo3Color.php.

References $GLOBALS.

Member Data Documentation

◆ $convertToolbarForHtmlAreaArray

TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color::$convertToolbarForHtmlAreaArray
protected
Initial value:
= array(
'textcolor' => 'ForeColor',
'bgcolor' => 'HiliteColor'
)

Definition at line 49 of file Typo3Color.php.

◆ $extensionKey

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

Definition at line 23 of file Typo3Color.php.

◆ $htmlAreaRTE

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

Definition at line 35 of file Typo3Color.php.

◆ $LOCAL_LANG

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

Definition at line 44 of file Typo3Color.php.

◆ $pluginButtons

TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color::$pluginButtons = 'textcolor,bgcolor'
protected

Definition at line 47 of file Typo3Color.php.

◆ $pluginName

TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color::$pluginName = 'TYPO3Color'
protected

Definition at line 26 of file Typo3Color.php.

◆ $relativePathToLocallangFile

TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color::$relativePathToLocallangFile = 'extensions/TYPO3Color/locallang.xlf'
protected

Definition at line 29 of file Typo3Color.php.

◆ $relativePathToSkin

TYPO3\CMS\Rtehtmlarea\Extension\Typo3Color::$relativePathToSkin = 'extensions/TYPO3Color/skin/htmlarea.css'
protected

Definition at line 32 of file Typo3Color.php.

◆ $thisConfig

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

Definition at line 38 of file Typo3Color.php.

◆ $toolbar

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

Definition at line 41 of file Typo3Color.php.