t3lib_syntaxhl Klassenreferenz

Aufstellung aller Elemente

Öffentliche Methoden

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

Öffentliche Attribute

 $htmlParse
 $DS_wrapTags
 $FF_wrapTags

Dokumentation der Elementfunktionen

t3lib_syntaxhl::getAllTags ( str  ) 

Returning all tag names found in XML/HTML input string

Parameter:
string HTML/XML input
Rückgabe:
array Array with all found tags (starttags only)
t3lib_syntaxhl::highLight_DS ( str  ) 

Makes syntax highlighting of a Data Structure, <T3DataStructure>

Parameter:
string Data Structure XML, must be valid since it's parsed.
Rückgabe:
string HTML code with highlighted content. Must be wrapped in
 tags
t3lib_syntaxhl::highLight_DS_markUpRecursively ( struct,
parent = '',
app = '' 
)

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

Parameter:
array The structure, see splitXMLbyTags()
string Parent tag.
string "Application" - used to denote if we are 'inside' a section
Rückgabe:
string HTML
t3lib_syntaxhl::highLight_FF ( str  ) 

Makes syntax highlighting of a FlexForm Data, <T3FlexForms>

Parameter:
string Data Structure XML, must be valid since it's parsed.
Rückgabe:
string HTML code with highlighted content. Must be wrapped in
 tags
t3lib_syntaxhl::highLight_FF_markUpRecursively ( struct,
parent = '',
app = '' 
)

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

Parameter:
array The structure, see splitXMLbyTags()
string Parent tag.
string "Application" - used to denote if we are 'inside' a section
Rückgabe:
string HTML
t3lib_syntaxhl::splitXMLbyTags ( tagList,
str 
)

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

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

Dokumentation der Datenelemente

t3lib_syntaxhl::$DS_wrapTags
Initialisierung:
 array(
                'T3DataStructure' => array('<span style="font-weight: bold;">','</span>'),
                'type' => array('<span style="font-weight: bold; color: #000080;">','</span>'),
                'section' => array('<span style="font-weight: bold; color: #000080;">','</span>'),
                'el' => array('<span style="font-weight: bold; color: #800000;">','</span>'),
                'meta' => array('<span style="font-weight: bold; color: #800080;">','</span>'),
                '_unknown' => array('<span style="font-style: italic; color: #666666;">','</span>'),

                '_applicationTag' => array('<span style="font-weight: bold; color: #FF6600;">','</span>'),
                '_applicationContents' => array('<span style="font-style: italic; color: #C29336;">','</span>'),

                'sheets'  => array('<span style="font-weight: bold; color: #008000;">','</span>'),
                'parent:sheets' => array('<span style="color: #008000;">','</span>'),

                'ROOT' => array('<span style="font-weight: bold; color: #008080;">','</span>'),
                'parent:el' => array('<span style="font-weight: bold; color: #008080;">','</span>'),

                'langDisable' => array('<span style="color: #000080;">','</span>'),
                'langChildren' => array('<span style="color: #000080;">','</span>'),
        )
t3lib_syntaxhl::$FF_wrapTags
Initialisierung:
 array(
                'T3FlexForms' => array('<span style="font-weight: bold;">','</span>'),
                'meta' => array('<span style="font-weight: bold; color: #800080;">','</span>'),
                'data' => array('<span style="font-weight: bold; color: #800080;">','</span>'),
                'el' => array('<span style="font-weight: bold; color: #80a000;">','</span>'),
                'itemType' => array('<span style="font-weight: bold; color: #804000;">','</span>'),
                'section' => array('<span style="font-weight: bold; color: #604080;">','</span>'),
                'numIndex' => array('<span style="color: #333333;">','</span>'),
                '_unknown' => array('<span style="font-style: italic; color: #666666;">','</span>'),


                'sDEF'  => array('<span style="font-weight: bold; color: #008000;">','</span>'),
                'level:sheet' => array('<span style="font-weight: bold; color: #008000;">','</span>'),

                'lDEF'  => array('<span style="font-weight: bold; color: #000080;">','</span>'),
                'level:language' => array('<span style="font-weight: bold; color: #000080;">','</span>'),

                'level:fieldname' => array('<span style="font-weight: bold; color: #666666;">','</span>'),

                'vDEF'  => array('<span style="font-weight: bold; color: #008080;">','</span>'),
                'level:value' => array('<span style="font-weight: bold; color: #008080;">','</span>'),

                'currentSheetId' => array('<span style="color: #000080;">','</span>'),
                'currentLangId' => array('<span style="color: #000080;">','</span>'),
        )

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
 Alle Klassen Namensbereiche Funktionen Variablen

Erzeugt am Wed Oct 28 16:40:23 2009 für Typo3 von  doxygen 1.6.1