TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rtehtmlarea\Extension\Plaintext Class Reference
Inheritance diagram for TYPO3\CMS\Rtehtmlarea\Extension\Plaintext:
TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi tx_rtehtmlarea_plaintext

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 = 'PlainText'
 
 $relativePathToLocallangFile = ''
 
 $relativePathToSkin = 'extensions/PlainText/skin/htmlarea.css'
 
 $htmlAreaRTE
 
 $thisConfig
 
 $toolbar
 
 $LOCAL_LANG
 
 $pluginButtons = 'pastetoggle,pastebehaviour'
 
 $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! Copy as Plain Text extension for htmlArea RTE

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

Definition at line 21 of file Plaintext.php.

Member Function Documentation

◆ applyToolbarConstraints()

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

Return an updated array of toolbar enabled buttons

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

Definition at line 86 of file Plaintext.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), and TYPO3_MODE.

◆ buildJavascriptConfiguration()

TYPO3\CMS\Rtehtmlarea\Extension\Plaintext::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 65 of file Plaintext.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), and TYPO3_MODE.

◆ main()

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

Definition at line 54 of file Plaintext.php.

Member Data Documentation

◆ $convertToolbarForHtmlAreaArray

TYPO3\CMS\Rtehtmlarea\Extension\Plaintext::$convertToolbarForHtmlAreaArray
protected
Initial value:
= array(
'pastetoggle' => 'PasteToggle',
'pastebehaviour' => 'PasteBehaviour'
)

Definition at line 49 of file Plaintext.php.

◆ $extensionKey

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

Definition at line 23 of file Plaintext.php.

◆ $htmlAreaRTE

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

Definition at line 35 of file Plaintext.php.

◆ $LOCAL_LANG

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

Definition at line 44 of file Plaintext.php.

◆ $pluginButtons

TYPO3\CMS\Rtehtmlarea\Extension\Plaintext::$pluginButtons = 'pastetoggle,pastebehaviour'
protected

Definition at line 47 of file Plaintext.php.

◆ $pluginName

TYPO3\CMS\Rtehtmlarea\Extension\Plaintext::$pluginName = 'PlainText'
protected

Definition at line 26 of file Plaintext.php.

◆ $relativePathToLocallangFile

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

Definition at line 29 of file Plaintext.php.

◆ $relativePathToSkin

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

Definition at line 32 of file Plaintext.php.

◆ $thisConfig

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

Definition at line 38 of file Plaintext.php.

◆ $toolbar

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

Definition at line 41 of file Plaintext.php.