Documentation TYPO3 par Ameos |
Public Member Functions | |
parse ($string, $matchObj='') | |
nextDivider () | |
parseSub (&$setup) | |
rollParseSub ($string, &$setup) | |
getVal ($string, $setup) | |
setVal ($string, &$setup, $value, $wipeOut=0) | |
error ($err, $num=2) | |
checkIncludeLines ($string) | |
checkIncludeLines_array ($array) | |
doSyntaxHighlight ($string, $lineNum='', $highlightBlockMode=0) | |
regHighLight ($code, $pointer, $strlen=-1) | |
syntaxHighlight_print ($lineNumDat, $highlightBlockMode) | |
parse ($string, $matchObj='') | |
nextDivider () | |
parseSub (&$setup) | |
rollParseSub ($string, &$setup) | |
getVal ($string, $setup) | |
setVal ($string, &$setup, $value, $wipeOut=0) | |
error ($err, $num=2) | |
checkIncludeLines ($string) | |
checkIncludeLines_array ($array) | |
doSyntaxHighlight ($string, $lineNum='', $highlightBlockMode=0) | |
regHighLight ($code, $pointer, $strlen=-1) | |
syntaxHighlight_print ($lineNumDat, $highlightBlockMode) | |
Public Attributes | |
$strict = 1 | |
$setup = Array() | |
$raw | |
$rawP | |
$lastComment = '' | |
$commentSet = 0 | |
$multiLineEnabled = 0 | |
$multiLineObject = '' | |
$multiLineValue = array() | |
$inBrace = 0 | |
$lastConditionTrue = 1 | |
$sections = array() | |
$sectionsMatch = array() | |
$syntaxHighLight = 0 | |
$highLightData = array() | |
$highLightData_bracelevel = array() | |
$regComments = 0 | |
$regLinenumbers = 0 | |
$errors = array() | |
$lineNumberOffset = 0 | |
$breakPointLN = 0 | |
$highLightStyles | |
$highLightBlockStyles = '' | |
$highLightBlockStyles_basecolor = '#cccccc' |
Definition at line 80 of file class.t3lib_tsparser.php.
|
Checks the input string (un-parsed TypoScript) for include-commands ("<INCLUDE_TYPOSCRIPT: ....") Use: t3lib_TSparser::checkIncludeLines()
Definition at line 445 of file class.t3lib_tsparser.php. References t3lib_div::get_tag_attributes(), and t3lib_div::getFileAbsFileName(). |
|
Checks the input string (un-parsed TypoScript) for include-commands ("<INCLUDE_TYPOSCRIPT: ....") Use: t3lib_TSparser::checkIncludeLines()
Definition at line 445 of file class.t3lib_tsparser.php. References t3lib_div::get_tag_attributes(), and t3lib_div::getFileAbsFileName(). Referenced by checkIncludeLines_array(), tx_tstemplateanalyzer::main(), and t3lib_TStemplate::procesIncludes(). |
|
Parses the string in each value of the input array for include-commands
Definition at line 489 of file class.t3lib_tsparser.php. References checkIncludeLines(). |
|
Parses the string in each value of the input array for include-commands
Definition at line 489 of file class.t3lib_tsparser.php. References checkIncludeLines(). Referenced by t3lib_userAuthGroup::fetchGroupData(), t3lib_BEfunc::getPagesTSconfig(), and tslib_feUserAuth::getUserTSconf(). |
|
Syntax highlight a TypoScript text Will parse the content. Remember, the internal setup array may contain INvalid parsed content since conditions are ignored!
Definition at line 532 of file class.t3lib_tsparser.php. |
|
Syntax highlight a TypoScript text Will parse the content. Remember, the internal setup array may contain INvalid parsed content since conditions are ignored!
Definition at line 532 of file class.t3lib_tsparser.php. |
|
Stacks errors/messages from the TypoScript parser into an internal array, $this->error If "TT" is a global object (as it is in the frontend when backend users are logged in) the message will be registered here as well.
Definition at line 433 of file class.t3lib_tsparser.php. |
|
Stacks errors/messages from the TypoScript parser into an internal array, $this->error If "TT" is a global object (as it is in the frontend when backend users are logged in) the message will be registered here as well.
Definition at line 433 of file class.t3lib_tsparser.php. Referenced by parse(). |
|
Get a value/property pair for an object path in TypoScript, eg. "myobject.myvalue.mysubproperty". Here: Used by the "copy" operator, <
Definition at line 361 of file class.t3lib_tsparser.php. |
|
Get a value/property pair for an object path in TypoScript, eg. "myobject.myvalue.mysubproperty". Here: Used by the "copy" operator, <
Definition at line 361 of file class.t3lib_tsparser.php. |
|
Will search for the next condition. When found it will return the line content (the condition value) and have advanced the internal $this->rawP pointer to point to the next line after the condition.
Definition at line 169 of file class.t3lib_tsparser.php. |
|
Will search for the next condition. When found it will return the line content (the condition value) and have advanced the internal $this->rawP pointer to point to the next line after the condition.
Definition at line 169 of file class.t3lib_tsparser.php. Referenced by parse(). |
|
Start parsing the input TypoScript text piece. The result is stored in $this->setup
Definition at line 133 of file class.t3lib_tsparser.php. References error(), nextDivider(), and parseSub(). |
|
Start parsing the input TypoScript text piece. The result is stored in $this->setup
Definition at line 133 of file class.t3lib_tsparser.php. References error(), nextDivider(), and parseSub(). |
|
Parsing the $this->raw TypoScript lines from pointer, $this->rawP
Definition at line 185 of file class.t3lib_tsparser.php. References regHighLight(). |
|
Parsing the $this->raw TypoScript lines from pointer, $this->rawP
Definition at line 185 of file class.t3lib_tsparser.php. References regHighLight(). Referenced by parse(). |
|
Registers a part of a TypoScript line for syntax highlighting.
Definition at line 553 of file class.t3lib_tsparser.php. |
|
Registers a part of a TypoScript line for syntax highlighting.
Definition at line 553 of file class.t3lib_tsparser.php. Referenced by parseSub(). |
|
Parsing of TypoScript keys inside a curly brace where the key is composite of at least two keys, thus having to recursively call itself to get the value
Definition at line 337 of file class.t3lib_tsparser.php. |
|
Parsing of TypoScript keys inside a curly brace where the key is composite of at least two keys, thus having to recursively call itself to get the value
Definition at line 337 of file class.t3lib_tsparser.php. |
|
Setting a value/property of an object string in the setup array.
Definition at line 387 of file class.t3lib_tsparser.php. |
|
Setting a value/property of an object string in the setup array.
Definition at line 387 of file class.t3lib_tsparser.php. |
|
Formatting the TypoScript code in $this->raw based on the data collected by $this->regHighLight in $this->highLightData
Definition at line 571 of file class.t3lib_tsparser.php. |
|
Formatting the TypoScript code in $this->raw based on the data collected by $this->regHighLight in $this->highLightData
Definition at line 571 of file class.t3lib_tsparser.php. |
|
Initial value: array( 'prespace' => array('<span class="ts-prespace">','</span>'), // Space before any content on a line 'objstr_postspace' => array('<span class="ts-objstr_postspace">','</span>'), // Space after the object string on a line 'operator_postspace' => array('<span class="ts-operator_postspace">','</span>'), // Space after the operator on a line 'operator' => array('<span class="ts-operator">','</span>'), // The operator char 'value' => array('<span class="ts-value">','</span>'), // The value of a line 'objstr' => array('<span class="ts-objstr">','</span>'), // The object string of a line 'value_copy' => array('<span class="ts-value_copy">','</span>'), // The value when the copy syntax (<) is used; that means the object reference 'value_unset' => array('<span class="ts-value_unset">','</span>'), // The value when an object is unset. Should not exist. 'ignored' => array('<span class="ts-ignored">','</span>'), // The "rest" of a line which will be ignored. 'default' => array('<span class="ts-default">','</span>'), // The default style if none other is applied. 'comment' => array('<span class="ts-comment">','</span>'), // Comment lines 'condition' => array('<span class="ts-condition">','</span>'), // Conditions 'error' => array('<span class="ts-error">','</span>'), // Error messages 'linenum' => array('<span class="ts-linenum">','</span>'), // Line numbers ) Definition at line 106 of file class.t3lib_tsparser.php. |