TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rtehtmlarea\ContentParser Class Reference
Inheritance diagram for TYPO3\CMS\Rtehtmlarea\ContentParser:
tx_rtehtmlarea_parse_html

Public Member Functions

 init ()
 
 main ()
 
 printContent ()
 
 main_parse_html ($openKeys)
 

Public Attributes

 $content
 
 $modData
 
 $doc
 
 $extKey = 'rtehtmlarea'
 
 $prefixId = 'TYPO3HtmlParser'
 

Protected Member Functions

 keepSpanTagsWithId (&$HTMLparserConfig)
 

Detailed Description

Content parsing for htmlArea RTE

Author
Stanislas Rolland <typo3(arobas)sjbr.ca>

Definition at line 24 of file ContentParser.php.

Member Function Documentation

◆ init()

TYPO3\CMS\Rtehtmlarea\ContentParser::init ( )
Returns
[type] ...
Todo:
Define visibility

Definition at line 58 of file ContentParser.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\_GP(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ keepSpanTagsWithId()

TYPO3\CMS\Rtehtmlarea\ContentParser::keepSpanTagsWithId ( $HTMLparserConfig)
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.

Parameters
array$HTMLparserConfig,incoming HTMLParser configuration (wil be modified)
Returns
void

Definition at line 134 of file ContentParser.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\inList(), and TYPO3\CMS\Core\Utility\GeneralUtility\rmFromList().

Referenced by TYPO3\CMS\Rtehtmlarea\ContentParser\main_parse_html().

◆ main()

TYPO3\CMS\Rtehtmlarea\ContentParser::main ( )

[Describe function...]

Returns
[type] ...
Todo:
Define visibility

Definition at line 76 of file ContentParser.php.

References TYPO3\CMS\Rtehtmlarea\ContentParser\main_parse_html().

◆ main_parse_html()

◆ printContent()

TYPO3\CMS\Rtehtmlarea\ContentParser::printContent ( )

[Describe function...]

Returns
[type] ...
Todo:
Define visibility

Definition at line 87 of file ContentParser.php.

References TYPO3\CMS\Rtehtmlarea\ContentParser\$content.

Member Data Documentation

◆ $content

TYPO3\CMS\Rtehtmlarea\ContentParser::$content
Todo:
Define visibility

Definition at line 29 of file ContentParser.php.

Referenced by TYPO3\CMS\Rtehtmlarea\ContentParser\printContent().

◆ $doc

TYPO3\CMS\Rtehtmlarea\ContentParser::$doc

Definition at line 42 of file ContentParser.php.

◆ $extKey

TYPO3\CMS\Rtehtmlarea\ContentParser::$extKey = 'rtehtmlarea'
Todo:
Define visibility

Definition at line 47 of file ContentParser.php.

◆ $modData

TYPO3\CMS\Rtehtmlarea\ContentParser::$modData
Todo:
Define visibility

Definition at line 34 of file ContentParser.php.

◆ $prefixId

TYPO3\CMS\Rtehtmlarea\ContentParser::$prefixId = 'TYPO3HtmlParser'
Todo:
Define visibility

Definition at line 52 of file ContentParser.php.