[CLEANUP] Add missing empty lines after copyright comments I
[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 /**
18 * About Editor plugin for htmlArea RTE
19 *
20 * @author Stanislas Rolland <typo3(arobas)sjbr.ca>
21 */
22 class AboutEditor extends \TYPO3\CMS\Rtehtmlarea\RteHtmlAreaApi {
23
24 /**
25 * The key of the extension that is extending htmlArea RTE
26 *
27 * @var string
28 */
29 protected $extensionKey = 'rtehtmlarea';
30
31 /**
32 * The name of the plugin registered by the extension
33 *
34 * @var string
35 */
36 protected $pluginName = 'AboutEditor';
37
38 /**
39 * Path to this main locallang file of the extension relative to the extension directory
40 *
41 * @var string
42 */
43 protected $relativePathToLocallangFile = '';
44
45 /**
46 * Path to the skin file relative to the extension directory
47 *
48 * @var string
49 */
50 protected $relativePathToSkin = 'Resources/Public/Css/Skin/Plugins/about-editor.css';
51
52 /**
53 * Reference to the invoking object
54 *
55 * @var \TYPO3\CMS\Rtehtmlarea\RteHtmlAreaBase
56 */
57 protected $htmlAreaRTE;
58
59 protected $thisConfig;
60
61 // Reference to RTE PageTSConfig
62 protected $toolbar;
63
64 // Reference to RTE toolbar array
65 protected $LOCAL_LANG;
66
67 // Frontend language array
68 protected $pluginButtons = 'about';
69
70 protected $convertToolbarForHtmlAreaArray = array(
71 'about' => 'About'
72 );
73
74 /**
75 * Return JS configuration of the htmlArea plugins registered by the extension
76 *
77 * @param int Relative id of the RTE editing area in the form
78 * @return string JS configuration for registered plugins
79 */
80 public function buildJavascriptConfiguration($RTEcounter) {
81 $registerRTEinJavascriptString = '';
82 return $registerRTEinJavascriptString;
83 }
84
85 }