[TASK] RTE: Move style sheets and images to Resources directory
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / Classes / Extension / AboutEditor.php
1 <?php
2 namespace TYPO3\CMS\Rtehtmlarea\Extension;
3
4 /**
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16 /**
17 * About Editor plugin for htmlArea RTE
18 *
19 * @author Stanislas Rolland <typo3(arobas)sjbr.ca>
20 */
21 class AboutEditor extends \TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi {
22
23 /**
24 * The key of the extension that is extending htmlArea RTE
25 *
26 * @var string
27 */
28 protected $extensionKey = 'rtehtmlarea';
29
30 /**
31 * The name of the plugin registered by the extension
32 *
33 * @var string
34 */
35 protected $pluginName = 'AboutEditor';
36
37 /**
38 * Path to this main locallang file of the extension relative to the extension directory
39 *
40 * @var string
41 */
42 protected $relativePathToLocallangFile = '';
43
44 /**
45 * Path to the skin file relative to the extension directory
46 *
47 * @var string
48 */
49 protected $relativePathToSkin = 'Resources/Public/Css/Skin/Plugins/about-editor.css';
50
51 /**
52 * Reference to the invoking object
53 *
54 * @var \TYPO3\CMS\Rtehtmlarea\RteHtmlAreaBase
55 */
56 protected $htmlAreaRTE;
57
58 protected $thisConfig;
59
60 // Reference to RTE PageTSConfig
61 protected $toolbar;
62
63 // Reference to RTE toolbar array
64 protected $LOCAL_LANG;
65
66 // Frontend language array
67 protected $pluginButtons = 'about';
68
69 protected $convertToolbarForHtmlAreaArray = array(
70 'about' => 'About'
71 );
72
73 /**
74 * Return JS configuration of the htmlArea plugins registered by the extension
75 *
76 * @param int Relative id of the RTE editing area in the form
77 * @return string JS configuration for registered plugins
78 */
79 public function buildJavascriptConfiguration($RTEcounter) {
80 $registerRTEinJavascriptString = '';
81 return $registerRTEinJavascriptString;
82 }
83
84 }