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

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'
 
 $pluginButtons
 
 $convertToolbarForHtmlAreaArray
 
- 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

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

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

Returns
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

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 82 of file TableOperations.php.

Member Data Documentation

$convertToolbarForHtmlAreaArray
protected
Initial value:
= [
'table' => 'InsertTable'

Definition at line 53 of file TableOperations.php.

$pluginButtons
protected
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'
protected

Definition at line 30 of file TableOperations.php.

$requiredPlugins = 'TYPO3Color,BlockStyle'
protected

Definition at line 37 of file TableOperations.php.