TYPO3
7.6
|
Public Member Functions | |
__construct () | |
init () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
main () | |
printContent () | |
main_parse_html ($openKeys) | |
Public Attributes | |
$content | |
$modData | |
$doc | |
$extKey = 'rtehtmlarea' | |
$prefixId = 'TYPO3HtmlParser' | |
Protected Member Functions | |
keepSpanTagsWithId (&$HTMLparserConfig) | |
Protected Attributes | |
$moduleName = 'rtehtmlarea_wizard_parse_html' | |
Content parsing for htmlArea RTE
Definition at line 24 of file ParseHtmlController.php.
__construct | ( | ) |
Initialize
Definition at line 63 of file ParseHtmlController.php.
References ParseHtmlController\init().
init | ( | ) |
Definition at line 71 of file ParseHtmlController.php.
References $GLOBALS, GeneralUtility\_GP(), and GeneralUtility\makeInstance().
Referenced by ParseHtmlController\__construct().
|
protected |
Modify incoming HTMLparser config in an attempt to keep span tags with id Such tags are used by the RTE in order to restore the cursor position when the cleaning operation is completed.
array | $HTMLparserConfig,: | incoming HTMLParser configuration (wil be modified) |
Definition at line 167 of file ParseHtmlController.php.
References elseif, GeneralUtility\inList(), and GeneralUtility\rmFromList().
Referenced by ParseHtmlController\main_parse_html().
main | ( | ) |
Main function
Definition at line 106 of file ParseHtmlController.php.
References GeneralUtility\logDeprecatedFunction(), and ParseHtmlController\main_parse_html().
main_parse_html | ( | $openKeys | ) |
Rich Text Editor (RTE) html parser
array | $openKeys | Unused |
Definition at line 131 of file ParseHtmlController.php.
References $GLOBALS, GeneralUtility\_GP(), BackendUtility\getPagesTSconfig(), GeneralUtility\getUserObj(), ParseHtmlController\keepSpanTagsWithId(), and GeneralUtility\makeInstance().
Referenced by ParseHtmlController\main(), and ParseHtmlController\mainAction().
mainAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Injects the request object for the current request or subrequest As this controller goes only through the main_parse_html() method, it is rather simple for now
ServerRequestInterface | $request | the current request |
ResponseInterface | $response |
Definition at line 91 of file ParseHtmlController.php.
References $response, MessageInterface\getBody(), ParseHtmlController\main_parse_html(), and MessageInterface\withHeader().
printContent | ( | ) |
Print content
Definition at line 119 of file ParseHtmlController.php.
References ParseHtmlController\$content, and GeneralUtility\logDeprecatedFunction().
$content |
Definition at line 29 of file ParseHtmlController.php.
Referenced by ParseHtmlController\printContent().
$doc |
Definition at line 41 of file ParseHtmlController.php.
$extKey = 'rtehtmlarea' |
Definition at line 46 of file ParseHtmlController.php.
$modData |
Definition at line 34 of file ParseHtmlController.php.
|
protected |
Definition at line 58 of file ParseHtmlController.php.
$prefixId = 'TYPO3HtmlParser' |
Definition at line 51 of file ParseHtmlController.php.