80 public function main($parentObject) {
82 $this->htmlAreaRTE = $parentObject;
83 $this->rteExtensionKey = &$this->htmlAreaRTE->ID;
84 $this->thisConfig = &$this->htmlAreaRTE->thisConfig;
85 $this->toolbar = &$this->htmlAreaRTE->toolbar;
86 $this->LOCAL_LANG = &$this->htmlAreaRTE->LOCAL_LANG;
88 $this->pluginAddsButtons = !empty($this->pluginButtons);
94 if ($this->relativePathToLocallangFile) {
95 if ($this->htmlAreaRTE->is_FE()) {
98 \
TYPO3\CMS\Core\Utility\GeneralUtility::readLLfile(
99 'EXT:' . $this->extensionKey .
'/' . $this->relativePathToLocallangFile,
100 $this->htmlAreaRTE->language
104 $LANG->includeLLFile(
'EXT:' . $this->extensionKey .
'/' . $this->relativePathToLocallangFile);
118 return ($addButtons ?
'bar,' . $addButtons .
',linebreak,' :
'') . $this->htmlAreaRTE->defaultToolbarOrder;
128 if ($TYPO3_CONF_VARS[
'EXTCONF'][$this->rteExtensionKey][
'plugins'][$this->pluginName][
'addIconsToSkin']) {
143 $registerRTEinJavascriptString =
'';
146 if (in_array($button, $this->toolbar)) {
147 if (!is_array($this->thisConfig[
'buttons.']) || !is_array($this->thisConfig[
'buttons.'][($button .
'.')])) {
148 $registerRTEinJavascriptString .=
' 149 RTEarea[' . $RTEcounter .
'].buttons.' . $button .
' = new Object();';
153 return $registerRTEinJavascriptString;
static mergeRecursiveWithOverrule(array &$original, array $overrule, $addKeys=TRUE, $includeEmptyValues=TRUE, $enableUnsetFeature=TRUE)
buildJavascriptConfiguration($RTEcounter)
$TYPO3_CONF_VARS['SYS']['contentTable']
$convertToolbarForHtmlAreaArray
$relativePathToPluginDirectory
requiresSynchronousLoad()
static trimExplode($delim, $string, $removeEmptyValues=FALSE, $limit=0)
$requiresClassesConfiguration
setSynchronousLoad($value=TRUE)
getPathToPluginDirectory()
getConvertToolbarForHtmlAreaArray()
requiresClassesConfiguration()
$relativePathToLocallangFile