TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rtehtmlarea\Extension\DefaultClean Class Reference
Inheritance diagram for TYPO3\CMS\Rtehtmlarea\Extension\DefaultClean:
TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi tx_rtehtmlarea_defaultclean

Public Member Functions

 main ($parentObject)
 
 buildJavascriptConfiguration ($RTEcounter)
 
 applyToolbarConstraints ($show)
 
- 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 = 'DefaultClean'
 
 $relativePathToLocallangFile = ''
 
 $relativePathToSkin = ''
 
 $htmlAreaRTE
 
 $thisConfig
 
 $toolbar
 
 $LOCAL_LANG
 
 $pluginButtons = 'cleanword'
 
 $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! Default Clean extension for htmlArea RTE

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

Definition at line 21 of file DefaultClean.php.

Member Function Documentation

◆ applyToolbarConstraints()

TYPO3\CMS\Rtehtmlarea\Extension\DefaultClean::applyToolbarConstraints (   $show)

Return an updated array of toolbar enabled buttons Force inclusion of hidden button cleanword

Parameters
array$show,array of toolbar elements that will be enabled, unless modified here
Returns
array toolbar button array, possibly updated

Definition at line 84 of file DefaultClean.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ buildJavascriptConfiguration()

TYPO3\CMS\Rtehtmlarea\Extension\DefaultClean::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, in this case, JS configuration of block elements

Definition at line 63 of file DefaultClean.php.

◆ main()

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

Definition at line 53 of file DefaultClean.php.

Member Data Documentation

◆ $convertToolbarForHtmlAreaArray

TYPO3\CMS\Rtehtmlarea\Extension\DefaultClean::$convertToolbarForHtmlAreaArray
protected
Initial value:
= array(
'cleanword' => 'CleanWord'
)

Definition at line 49 of file DefaultClean.php.

◆ $extensionKey

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

Definition at line 23 of file DefaultClean.php.

◆ $htmlAreaRTE

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

Definition at line 35 of file DefaultClean.php.

◆ $LOCAL_LANG

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

Definition at line 44 of file DefaultClean.php.

◆ $pluginButtons

TYPO3\CMS\Rtehtmlarea\Extension\DefaultClean::$pluginButtons = 'cleanword'
protected

Definition at line 47 of file DefaultClean.php.

◆ $pluginName

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

Definition at line 26 of file DefaultClean.php.

◆ $relativePathToLocallangFile

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

Definition at line 29 of file DefaultClean.php.

◆ $relativePathToSkin

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

Definition at line 32 of file DefaultClean.php.

◆ $thisConfig

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

Definition at line 38 of file DefaultClean.php.

◆ $toolbar

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

Definition at line 41 of file DefaultClean.php.