t3lib_syntaxhl Class Reference

List of all members.

Public Member Functions

 highLight_DS ($str)
 highLight_DS_markUpRecursively ($struct, $parent='', $app='')
 highLight_FF ($str)
 highLight_FF_markUpRecursively ($struct, $parent='', $app='')
 getAllTags ($str)
 splitXMLbyTags ($tagList, $str)

Public Attributes

 $htmlParse
 $DS_wrapTags
 $FF_wrapTags


Detailed Description

Definition at line 84 of file class.t3lib_syntaxhl.php.


Member Function Documentation

t3lib_syntaxhl::highLight_DS ( str  ) 

Makes syntax highlighting of a Data Structure, <T3DataStructure>

Parameters:
string Data Structure XML, must be valid since it's parsed.
Returns:
string HTML code with highlighted content. Must be wrapped in
 tags

Definition at line 156 of file class.t3lib_syntaxhl.php.

t3lib_syntaxhl::highLight_DS_markUpRecursively ( struct,
parent = '',
app = '' 
)

Making syntax highlighting of the parsed Data Structure XML. Called recursively.

Parameters:
array The structure, see splitXMLbyTags()
string Parent tag.
string "Application" - used to denote if we are 'inside' a section
Returns:
string HTML

Definition at line 183 of file class.t3lib_syntaxhl.php.

t3lib_syntaxhl::highLight_FF ( str  ) 

Makes syntax highlighting of a FlexForm Data, <T3FlexForms>

Parameters:
string Data Structure XML, must be valid since it's parsed.
Returns:
string HTML code with highlighted content. Must be wrapped in
 tags

Definition at line 268 of file class.t3lib_syntaxhl.php.

t3lib_syntaxhl::highLight_FF_markUpRecursively ( struct,
parent = '',
app = '' 
)

Making syntax highlighting of the parsed FlexForm XML. Called recursively.

Parameters:
array The structure, see splitXMLbyTags()
string Parent tag.
string "Application" - used to denote if we are 'inside' a section
Returns:
string HTML

Definition at line 295 of file class.t3lib_syntaxhl.php.

t3lib_syntaxhl::getAllTags ( str  ) 

Returning all tag names found in XML/HTML input string

Parameters:
string HTML/XML input
Returns:
array Array with all found tags (starttags only)

Definition at line 376 of file class.t3lib_syntaxhl.php.

t3lib_syntaxhl::splitXMLbyTags ( tagList,
str 
)

Splitting the input source by the tags listing in $tagList. Called recursively.

Parameters:
string Commalist of tags to split source by (into blocks, ALL being block-tags!)
string Input string.
Returns:
array Array with the content arranged hierarchically.

Definition at line 407 of file class.t3lib_syntaxhl.php.


The documentation for this class was generated from the following file:
This documentation has been generated automatically from TYPO3 source code using Doxygen and is provided as is by Cast Iron Coding as a courtesy to other TYPO3 developers and users. Please consider Cast Iron Coding — a full-service web development agency in Portland, Oregon specializing in TYPO3 extension development — for all of your TYPO3 development and consulting needs!