TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
CopyPaste Class Reference
Inheritance diagram for CopyPaste:
RteHtmlAreaApi

Public Member Functions

 main (array $configuration)
 
 applyToolbarConstraints ($show)
 
- Public Member Functions inherited from 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 RteHtmlAreaApi
 $extensionKey = 'rtehtmlarea'
 
 $pluginName
 
 $relativePathToSkin = ''
 
 $toolbar
 
 $pluginButtons = ''
 
 $pluginLabels = ''
 
 $pluginAddsButtons = true
 
 $convertToolbarForHtmlAreaArray = []
 
 $requiresClassesConfiguration = false
 
 $requiredPlugins = ''
 
 $configuration
 

Additional Inherited Members

- Protected Member Functions inherited from RteHtmlAreaApi
 cleanList ($str)
 
 getPageConfigLabel ($string)
 
 isFrontend ()
 
 isFrontendEditActive ()
 
 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 (   $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 ( 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 GeneralUtility\trimExplode().

Member Data Documentation

$convertToolbarForHtmlAreaArray
protected
Initial value:
= [
'copy' => 'Copy'

Definition at line 44 of file CopyPaste.php.

$hideButtonsFromClient
protected
Initial value:
= [
'gecko' => ['copy', 'cut', 'paste']

Definition at line 55 of file CopyPaste.php.

$pluginButtons = 'copy, cut, paste'
protected

Definition at line 37 of file CopyPaste.php.

$pluginName = 'CopyPaste'
protected

Definition at line 30 of file CopyPaste.php.