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

Public Member Functions

 main (array $configuration)
 
 buildJavascriptConfiguration ()
 
- 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 = 'SpellChecker'
 
 $pluginButtons = 'spellcheck'
 
 $convertToolbarForHtmlAreaArray
 
 $spellCheckerModes = ['ultra', 'fast', 'normal', 'bad-spellers']
 
- 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

Spell Checker plugin for htmlArea RTE

Definition at line 25 of file Spellchecker.php.

Member Function Documentation

◆ buildJavascriptConfiguration()

TYPO3\CMS\Rtehtmlarea\Extension\Spellchecker::buildJavascriptConfiguration ( )

Return JS configuration of the htmlArea plugins registered by the extension

Returns
string JS configuration for registered plugins

Definition at line 78 of file Spellchecker.php.

References $GLOBALS, TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi\isFrontend(), and TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi\isFrontendEditActive().

◆ main()

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

References $GLOBALS, TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded(), and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Member Data Documentation

◆ $convertToolbarForHtmlAreaArray

TYPO3\CMS\Rtehtmlarea\Extension\Spellchecker::$convertToolbarForHtmlAreaArray
protected
Initial value:
= [
'spellcheck' => 'SpellCheck'
]

Definition at line 46 of file Spellchecker.php.

◆ $pluginButtons

TYPO3\CMS\Rtehtmlarea\Extension\Spellchecker::$pluginButtons = 'spellcheck'
protected

Definition at line 39 of file Spellchecker.php.

◆ $pluginName

TYPO3\CMS\Rtehtmlarea\Extension\Spellchecker::$pluginName = 'SpellChecker'
protected

Definition at line 32 of file Spellchecker.php.

◆ $spellCheckerModes

TYPO3\CMS\Rtehtmlarea\Extension\Spellchecker::$spellCheckerModes = ['ultra', 'fast', 'normal', 'bad-spellers']
protected

Definition at line 55 of file Spellchecker.php.