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

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'
- Protected Attributes inherited from RteHtmlAreaApi
 $extensionKey = 'rtehtmlarea'
 $relativePathToSkin = ''
 $pluginButtons = ''
 $pluginLabels = ''
 $pluginAddsButtons = true
 $convertToolbarForHtmlAreaArray = []
 $requiresClassesConfiguration = false
 $requiredPlugins = ''

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

array$show,array of toolbar elements that will be enabled, unless modified here
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

array$configurationConfiguration array given from calling object down to the single plugins
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

Initial value:
= [
'copy' => 'Copy'

Definition at line 44 of file CopyPaste.php.

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

Definition at line 55 of file CopyPaste.php.

$pluginButtons = 'copy, cut, paste'

Definition at line 37 of file CopyPaste.php.

$pluginName = 'CopyPaste'

Definition at line 30 of file CopyPaste.php.