[TASK] Re-work/simplify copyright header in PHP files - Part 1
[Packages/TYPO3.CMS.git] / typo3 / sysext / cshmanual / mod / index.php
1 <?php
2 /**
3 * This file is part of the TYPO3 CMS project.
4 *
5 * It is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License, either version 2
7 * of the License, or any later version.
8 *
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
11 *
12 * The TYPO3 project - inspiring people to share!
13 */
14 /**
15 * Extension of the parse_html class.
16 *
17 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
18 */
19 class local_t3lib_parsehtml extends \TYPO3\CMS\Core\Html\HtmlParser {
20
21 /**
22 * Processing content between tags for HTML_cleaner
23 *
24 * @param string $value The value
25 * @param integer $dir Direction, either -1 or +1. 0 (zero) means no change to input value.
26 * @param mixed $conf Not used, ignore.
27 * @return string The processed value.
28 * @access private
29 * @todo Define visibility
30 */
31 public function processContent($value, $dir, $conf) {
32 $value = $this->pObj->substituteGlossaryWords_htmlcleaner_callback($value);
33 return $value;
34 }
35
36 }
37
38 /*
39 * @deprecated since 6.0, the classname SC_view_help and this file is obsolete
40 * and will be removed with 6.2. The class was renamed and is now located at:
41 * typo3/sysext/cshmanual/Classes/Controller/HelpModuleController.php
42 */
43 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Cshmanual\\Controller\\HelpModuleController');
44 $SOBE->init();
45 $SOBE->main();
46 $SOBE->printContent();