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

Public Member Functions

 main (array $configuration)
 buildJavascriptConfiguration ()
 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 = 'TableOperations'
 $requiredPlugins = 'TYPO3Color,BlockStyle'
- 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

Table Operations extension for htmlArea RTE

Definition at line 23 of file TableOperations.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 135 of file TableOperations.php.

References GeneralUtility\trimExplode().

buildJavascriptConfiguration ( )

Return JS configuration of the htmlArea plugins registered by the extension

string JS configuration for registered plugins, in this case, JS configuration of block elements

Definition at line 96 of file TableOperations.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 82 of file TableOperations.php.

Member Data Documentation

Initial value:
= [
'table' => 'InsertTable'

Definition at line 53 of file TableOperations.php.

Initial value:
= 'table, toggleborders, tableproperties, tablerestyle, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit,
columnproperties, columninsertbefore, columninsertafter, columndelete, columnsplit,
cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge'

Definition at line 44 of file TableOperations.php.

$pluginName = 'TableOperations'

Definition at line 30 of file TableOperations.php.

$requiredPlugins = 'TYPO3Color,BlockStyle'

Definition at line 37 of file TableOperations.php.