TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Rtehtmlarea\Extension\CopyPaste Class Reference
Inheritance diagram for TYPO3\CMS\Rtehtmlarea\Extension\CopyPaste:
TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi

Public Member Functions

 main (array $configuration)
 
 applyToolbarConstraints ($show)
 
- Public Member Functions inherited from TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi
 main (array $configuration)
 
 buildJavascriptConfiguration ()
 
 getExtensionKey ()
 
 addsButtons ()
 
 getPluginButtons ()
 
 getPluginLabels ()
 
 getConvertToolbarForHtmlAreaArray ()
 
 requiresClassesConfiguration ()
 
 getRequiredPlugins ()
 
 setToolbar (array $toolbar)
 

Protected Attributes

 $pluginName = 'CopyPaste'
 
 $pluginButtons = 'copy, cut, paste'
 
 $convertToolbarForHtmlAreaArray
 
 $hideButtonsFromClient
 
- Protected Attributes inherited from TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi
 $extensionKey = 'rtehtmlarea'
 
 $pluginName
 
 $relativePathToSkin = ''
 
 $toolbar
 
 $pluginButtons = ''
 
 $pluginLabels = ''
 
 $pluginAddsButtons = true
 
 $convertToolbarForHtmlAreaArray = []
 
 $requiresClassesConfiguration = false
 
 $requiredPlugins = ''
 
 $configuration
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi
 cleanList ($str)
 
 getPageConfigLabel ($string)
 
 isFrontend ()
 
 isFrontendEditActive ()
 
 getFullFileName ($filename)
 
 writeTemporaryFile ($label, $fileExtension='js', $contents='')
 
 getLanguageService ()
 

Detailed Description

Copy Paste plugin for htmlArea RTE

Definition at line 23 of file CopyPaste.php.

Member Function Documentation

◆ applyToolbarConstraints()

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

◆ main()

TYPO3\CMS\Rtehtmlarea\Extension\CopyPaste::main ( array  $configuration)

Returns TRUE if the plugin is available and correctly initialized

Parameters
array$configurationConfiguration array given from calling object down to the single plugins
Returns
bool TRUE if this plugin object should be made available in the current environment and is correctly initialized

Definition at line 67 of file CopyPaste.php.

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

Member Data Documentation

◆ $convertToolbarForHtmlAreaArray

TYPO3\CMS\Rtehtmlarea\Extension\CopyPaste::$convertToolbarForHtmlAreaArray
protected
Initial value:
= [
'copy' => 'Copy'

Definition at line 44 of file CopyPaste.php.

◆ $hideButtonsFromClient

TYPO3\CMS\Rtehtmlarea\Extension\CopyPaste::$hideButtonsFromClient
protected
Initial value:
= [
'gecko' => ['copy', 'cut', 'paste']

Definition at line 55 of file CopyPaste.php.

◆ $pluginButtons

TYPO3\CMS\Rtehtmlarea\Extension\CopyPaste::$pluginButtons = 'copy, cut, paste'
protected

Definition at line 37 of file CopyPaste.php.

◆ $pluginName

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

Definition at line 30 of file CopyPaste.php.