TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rtehtmlarea\Extension\InlineElements Class Reference
Inheritance diagram for TYPO3\CMS\Rtehtmlarea\Extension\InlineElements:
TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi tx_rtehtmlarea_inlineelements

Public Member Functions

 buildJavascriptConfiguration ($RTEcounter)
 
- Public Member Functions inherited from TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi
 main ($parentObject)
 
 addButtonsToToolbar ()
 
 getPathToSkin ()
 
 buildJavascriptConfiguration ($RTEcounter)
 
 getExtensionKey ()
 
 getPathToPluginDirectory ()
 
 addsButtons ()
 
 getPluginButtons ()
 
 getPluginLabels ()
 
 getConvertToolbarForHtmlAreaArray ()
 
 requiresClassesConfiguration ()
 
 requiresSynchronousLoad ()
 
 setSynchronousLoad ($value=TRUE)
 
 getRequiredPlugins ()
 

Protected Attributes

 $extensionKey = 'rtehtmlarea'
 
 $pluginName = 'InlineElements'
 
 $relativePathToLocallangFile = 'extensions/InlineElements/locallang.xlf'
 
 $relativePathToSkin = 'extensions/InlineElements/skin/htmlarea.css'
 
 $htmlAreaRTE
 
 $thisConfig
 
 $toolbar
 
 $LOCAL_LANG
 
 $pluginButtons = 'formattext, bidioverride, big, bold, citation, code, definition, deletedtext, emphasis, insertedtext, italic, keyboard, quotation, sample, small, span, strikethrough, strong, subscript, superscript, underline, variable'
 
 $convertToolbarForHtmlAreaArray
 
 $defaultInlineElements
 
 $defaultInlineElementsOrder
 
 $buttonToInlineElement
 
- Protected Attributes inherited from TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi
 $extensionKey
 
 $pluginName
 
 $relativePathToLocallangFile
 
 $relativePathToSkin
 
 $relativePathToPluginDirectory
 
 $htmlAreaRTE
 
 $rteExtensionKey
 
 $thisConfig
 
 $toolbar
 
 $LOCAL_LANG
 
 $pluginButtons = ''
 
 $pluginLabels = ''
 
 $pluginAddsButtons = TRUE
 
 $convertToolbarForHtmlAreaArray = array()
 
 $requiresClassesConfiguration = FALSE
 
 $requiresSynchronousLoad = FALSE
 
 $requiredPlugins = ''
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! InlineElements plugin for htmlArea RTE

Author
Stanislas Rolland <typo3(arobas)sjbr.ca>

Definition at line 21 of file InlineElements.php.

Member Function Documentation

◆ buildJavascriptConfiguration()

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::buildJavascriptConfiguration (   $RTEcounter)

Return JS configuration of the htmlArea plugins registered by the extension

Parameters
integerRelative id of the RTE editing area in the form
Returns
string JS configuration for registered plugins

Definition at line 136 of file InlineElements.php.

References TYPO3\CMS\Rtehtmlarea\Extension\InlineElements\$defaultInlineElementsOrder, $GLOBALS, $TSFE, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Member Data Documentation

◆ $buttonToInlineElement

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$buttonToInlineElement
protected
Initial value:
= array(
'none' => 'none',
'bidioverride' => 'bdo',
'big' => 'big',
'bold' => 'b',
'citation' => 'cite',
'code' => 'code',
'definition' => 'dfn',
'deletedtext' => 'del',
'emphasis' => 'em',
'insertedtext' => 'ins',
'italic' => 'i',
'keyboard' => 'kbd',
'monospaced' => 'tt',
'quotation' => 'q',
'sample' => 'samp',
'small' => 'small',
'span' => 'span',
'strikethrough' => 'strike',
'strong' => 'strong',
'subscript' => 'sub',
'superscript' => 'sup',
'underline' => 'u',
'variable' => 'var'
)

Definition at line 104 of file InlineElements.php.

◆ $convertToolbarForHtmlAreaArray

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$convertToolbarForHtmlAreaArray
protected
Initial value:
= array(
'formattext' => 'FormatText',
'bidioverride' => 'BiDiOverride',
'big' => 'Big',
'bold' => 'Bold',
'citation' => 'Citation',
'code' => 'Code',
'definition' => 'Definition',
'deletedtext' => 'DeletedText',
'emphasis' => 'Emphasis',
'insertedtext' => 'InsertedText',
'italic' => 'Italic',
'keyboard' => 'Keyboard',
'monospaced' => 'MonoSpaced',
'quotation' => 'Quotation',
'sample' => 'Sample',
'small' => 'Small',
'span' => 'Span',
'strikethrough' => 'StrikeThrough',
'strong' => 'Strong',
'subscript' => 'Subscript',
'superscript' => 'Superscript',
'underline' => 'Underline',
'variable' => 'Variable'
)

Definition at line 49 of file InlineElements.php.

◆ $defaultInlineElements

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$defaultInlineElements
protected
Initial value:
= array(
'none' => 'No markup',
'b' => 'Bold',
'bdo' => 'BiDi override',
'big' => 'Large text',
'cite' => 'Citation',
'code' => 'Code',
'del' => 'Deleted text',
'dfn' => 'Definition',
'em' => 'Emphasis',
'i' => 'Italic',
'ins' => 'Inserted text',
'kbd' => 'Keyboard',
'q' => 'Quotation',
'samp' => 'Sample',
'small' => 'Small text',
'span' => 'Style container',
'strike' => 'Strike-through',
'strong' => 'Strong emphasis',
'sub' => 'Subscript',
'sup' => 'Superscript',
'tt' => 'Monospaced text',
'u' => 'Underline',
'var' => 'Variable'
)

Definition at line 75 of file InlineElements.php.

◆ $defaultInlineElementsOrder

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$defaultInlineElementsOrder
protected
Initial value:
= 'none, bidioverride, big, bold, citation, code, definition, deletedtext, emphasis, insertedtext, italic, keyboard,
monospaced, quotation, sample, small, span, strikethrough, strong, subscript, superscript, underline, variable'

Definition at line 101 of file InlineElements.php.

Referenced by TYPO3\CMS\Rtehtmlarea\Extension\InlineElements\buildJavascriptConfiguration().

◆ $extensionKey

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$extensionKey = 'rtehtmlarea'
protected

Definition at line 23 of file InlineElements.php.

◆ $htmlAreaRTE

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$htmlAreaRTE
protected

Definition at line 35 of file InlineElements.php.

◆ $LOCAL_LANG

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$LOCAL_LANG
protected

Definition at line 44 of file InlineElements.php.

◆ $pluginButtons

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$pluginButtons = 'formattext, bidioverride, big, bold, citation, code, definition, deletedtext, emphasis, insertedtext, italic, keyboard, quotation, sample, small, span, strikethrough, strong, subscript, superscript, underline, variable'
protected

Definition at line 47 of file InlineElements.php.

◆ $pluginName

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$pluginName = 'InlineElements'
protected

Definition at line 26 of file InlineElements.php.

◆ $relativePathToLocallangFile

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$relativePathToLocallangFile = 'extensions/InlineElements/locallang.xlf'
protected

Definition at line 29 of file InlineElements.php.

◆ $relativePathToSkin

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$relativePathToSkin = 'extensions/InlineElements/skin/htmlarea.css'
protected

Definition at line 32 of file InlineElements.php.

◆ $thisConfig

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$thisConfig
protected

Definition at line 38 of file InlineElements.php.

◆ $toolbar

TYPO3\CMS\Rtehtmlarea\Extension\InlineElements::$toolbar
protected

Definition at line 41 of file InlineElements.php.