Documentation TYPO3 par Ameos |

Public Member Functions | |
| init () | |
| getCurrentPageData () | |
| matching ($cc) | |
| start ($theRootLine) | |
| runThroughTemplates ($theRootLine, $start_template_uid=0) | |
| processTemplate ($row, $idList, $pid, $templateID='', $templateParent='') | |
| includeStaticTypoScriptSources ($idList, $templateID, $pid, $row) | |
| addExtensionStatics ($idList, $templateID, $pid, $row) | |
| prependStaticExtra ($subrow) | |
| generateConfig () | |
| procesIncludes () | |
| mergeConstantsFromPageTSconfig ($constArray) | |
| flattenSetup ($setupArray, $prefix, $resourceFlag) | |
| substituteConstants ($all) | |
| splitConfArray ($conf, $splitCount) | |
| getFileName ($fileFromSetup) | |
| extractFromResources ($res, $file) | |
| checkFile ($name, $menuArr) | |
| printTitle ($title, $no_title=0, $titleFirst=0) | |
| fileContent ($fName) | |
| wrap ($content, $wrap) | |
| removeQueryString ($url) | |
| sortedKeyList ($setupArr, $acceptOnlyProperties=FALSE) | |
| linkData ($page, $oTarget, $no_cache, $script, $overrideArray='', $addParams='', $typeOverride='') | |
| getFromMPmap ($pageId=0) | |
| initMPmap_create ($id, $MP_array=array(), $level=0) | |
| init () | |
| getCurrentPageData () | |
| matching ($cc) | |
| start ($theRootLine) | |
| runThroughTemplates ($theRootLine, $start_template_uid=0) | |
| processTemplate ($row, $idList, $pid, $templateID='', $templateParent='') | |
| includeStaticTypoScriptSources ($idList, $templateID, $pid, $row) | |
| addExtensionStatics ($idList, $templateID, $pid, $row) | |
| prependStaticExtra ($subrow) | |
| generateConfig () | |
| procesIncludes () | |
| mergeConstantsFromPageTSconfig ($constArray) | |
| flattenSetup ($setupArray, $prefix, $resourceFlag) | |
| substituteConstants ($all) | |
| splitConfArray ($conf, $splitCount) | |
| getFileName ($fileFromSetup) | |
| extractFromResources ($res, $file) | |
| checkFile ($name, $menuArr) | |
| printTitle ($title, $no_title=0, $titleFirst=0) | |
| fileContent ($fName) | |
| wrap ($content, $wrap) | |
| removeQueryString ($url) | |
| sortedKeyList ($setupArr, $acceptOnlyProperties=FALSE) | |
| linkData ($page, $oTarget, $no_cache, $script, $overrideArray='', $addParams='', $typeOverride='') | |
| getFromMPmap ($pageId=0) | |
| initMPmap_create ($id, $MP_array=array(), $level=0) | |
Public Attributes | |
| $tt_track = 1 | |
| $forceTemplateParsing = 0 | |
| $matchAlternative = array() | |
| $matchAll = 0 | |
| $parseEditorCfgField = 0 | |
| $backend_info = 0 | |
| $getFileName_backPath = '' | |
| $ext_constants_BRP = 0 | |
| $ext_config_BRP = 0 | |
| $ext_editorcfg_BRP = 0 | |
| $ext_regLinenumbers = FALSE | |
| $uplPath = 'uploads/tf/' | |
| $tempPath = 'typo3temp/' | |
| $menuclasses = 'gmenu,tmenu,imgmenu,jsmenu' | |
| $whereClause = '' | |
| $debug = 0 | |
| $allowedPaths = array() | |
| $currentPageData = '' | |
| $simulationHiddenOrTime = 0 | |
| $loaded = 0 | |
| $setup | |
| $flatSetup | |
| $const | |
| $config = array() | |
| $constants = array() | |
| $editorcfg = array() | |
| $hierarchyInfo = array() | |
| $hierarchyInfoToRoot = array() | |
| $nextLevel = 0 | |
| $rootId | |
| $rootLine | |
| $absoluteRootLine | |
| $outermostRootlineIndexWithTemplate = 0 | |
| $rowSum | |
| $resources = '' | |
| $sitetitle = '' | |
| $sections | |
| $sectionsMatch | |
| $clearList_const = array() | |
| $clearList_setup = array() | |
| $clearList_editorcfg = array() | |
| $parserErrors = array() | |
| $setup_constants = array() | |
| $fileCache = Array() | |
| $frames = Array() | |
| $MPmap = '' | |
Definition at line 107 of file class.t3lib_tstemplate.php.
|
||||||||||||||||||||
|
Adds the default TypoScript files for extensions if any.
Definition at line 626 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||||||
|
Adds the default TypoScript files for extensions if any.
Definition at line 626 of file class.t3lib_tstemplate.php. |
|
||||||||||||
|
CheckFile runs through the $menuArr and checks every file-reference in $name (Not used anywhere)
Definition at line 1136 of file class.t3lib_tstemplate.php. |
|
||||||||||||
|
CheckFile runs through the $menuArr and checks every file-reference in $name (Not used anywhere)
Definition at line 1136 of file class.t3lib_tstemplate.php. |
|
||||||||||||
|
Searches for the TypoScript resource filename in the list of resource filenames.
Definition at line 1108 of file class.t3lib_tstemplate.php. |
|
||||||||||||
|
Searches for the TypoScript resource filename in the list of resource filenames.
Definition at line 1108 of file class.t3lib_tstemplate.php. |
|
|
Reads the fileContent of $fName and returns it. The same as t3lib_div::getUrl()
Definition at line 1176 of file class.t3lib_tstemplate.php. |
|
|
Reads the fileContent of $fName and returns it. The same as t3lib_div::getUrl()
Definition at line 1176 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||
|
This flattens a hierarchical TypoScript array to $this->flatSetup
Reimplemented in t3lib_tsparser_ext, and t3lib_tsparser_ext. Definition at line 912 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||
|
This flattens a hierarchical TypoScript array to $this->flatSetup
Reimplemented in t3lib_tsparser_ext, and t3lib_tsparser_ext. Definition at line 912 of file class.t3lib_tstemplate.php. |
|
|
Generates the configuration array by replacing constants and parsing the whole thing. Depends on $this->config and $this->constants to be set prior to this! (done by processTemplate/runThroughTemplates)
Definition at line 695 of file class.t3lib_tstemplate.php. References t3lib_div::intInRange(), t3lib_div::makeInstance(), and t3lib_div::trimExplode(). |
|
|
Generates the configuration array by replacing constants and parsing the whole thing. Depends on $this->config and $this->constants to be set prior to this! (done by processTemplate/runThroughTemplates)
Definition at line 695 of file class.t3lib_tstemplate.php. References t3lib_div::intInRange(), t3lib_div::makeInstance(), and t3lib_div::trimExplode(). |
|
|
Fetches the "currentPageData" array from cache NOTE about currentPageData: It holds information about the TypoScript conditions along with the list of template uid's which is used on the page. In the getFromCache function in TSFE, currentPageData is used to evaluate if there is a template and if the matching conditions are alright Unfortunately this does not take into account if the templates in the rowSum of currentPageData has changed composition, eg. due to hidden fields or start/end time. So if a template is hidden or times out, it'll not be discovered unless the page is regenerated - at least the this->start function must be called, because this will make a new portion of data in currentPageData string
Definition at line 247 of file class.t3lib_tstemplate.php. References t3lib_div::md5int(). |
|
|
Fetches the "currentPageData" array from cache NOTE about currentPageData: It holds information about the TypoScript conditions along with the list of template uid's which is used on the page. In the getFromCache function in TSFE, currentPageData is used to evaluate if there is a template and if the matching conditions are alright Unfortunately this does not take into account if the templates in the rowSum of currentPageData has changed composition, eg. due to hidden fields or start/end time. So if a template is hidden or times out, it'll not be discovered unless the page is regenerated - at least the this->start function must be called, because this will make a new portion of data in currentPageData string
Definition at line 247 of file class.t3lib_tstemplate.php. References t3lib_div::md5int(). |
|
|
Returns the reference to a 'resource' in TypoScript. This could be from the filesystem if '/' is found in the value $fileFromSetup, else from the resource-list
Definition at line 1051 of file class.t3lib_tstemplate.php. References t3lib_extMgm::extPath(), t3lib_extMgm::isLoaded(), and t3lib_div::split_fileref(). |
|
|
Returns the reference to a 'resource' in TypoScript. This could be from the filesystem if '/' is found in the value $fileFromSetup, else from the resource-list
Definition at line 1051 of file class.t3lib_tstemplate.php. References t3lib_extMgm::extPath(), t3lib_extMgm::isLoaded(), and t3lib_div::split_fileref(). Referenced by t3lib_tsparser_ext::flattenSetup(). |
|
|
Initializes the automatically created MPmap coming from the "config.MP_mapRootPoints" setting Can be called many times with overhead only the first time since then the map is generated and cached in memory.
Definition at line 1393 of file class.t3lib_tstemplate.php. |
|
|
Initializes the automatically created MPmap coming from the "config.MP_mapRootPoints" setting Can be called many times with overhead only the first time since then the map is generated and cached in memory.
Definition at line 1393 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||||||
|
Includes static template records (from static_template table) and static template files (from extensions) for the input template record row.
Definition at line 565 of file class.t3lib_tstemplate.php. References t3lib_extMgm::extPath(), t3lib_div::inList(), t3lib_div::intExplode(), t3lib_extMgm::isLoaded(), and t3lib_div::trimExplode(). |
|
||||||||||||||||||||
|
Includes static template records (from static_template table) and static template files (from extensions) for the input template record row.
Definition at line 565 of file class.t3lib_tstemplate.php. References t3lib_extMgm::extPath(), t3lib_div::inList(), t3lib_div::intExplode(), t3lib_extMgm::isLoaded(), and t3lib_div::trimExplode(). |
|
|
Initialize MUST be called directly after creating a new template-object
Definition at line 209 of file class.t3lib_tstemplate.php. |
|
|
Initialize MUST be called directly after creating a new template-object
Definition at line 209 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||
|
Creating MPmap for a certain ID root point.
Definition at line 1429 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||
|
Creating MPmap for a certain ID root point.
Definition at line 1429 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||||||||||||||||||
|
The mother of all functions creating links/URLs etc in a TypoScript environment. See the references below. Basically this function takes care of issues such as type,id,alias and Mount Points, simulate static documents, M5/B6 encoded parameters etc. It is important to pass all links created through this function since this is the guarantee that globally configured settings for link creating are observed and that your applications will conform to the various/many configuration options in TypoScript Templates regarding this.
Definition at line 1274 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||||||||||||||||||
|
The mother of all functions creating links/URLs etc in a TypoScript environment. See the references below. Basically this function takes care of issues such as type,id,alias and Mount Points, simulate static documents, M5/B6 encoded parameters etc. It is important to pass all links created through this function since this is the guarantee that globally configured settings for link creating are observed and that your applications will conform to the various/many configuration options in TypoScript Templates regarding this.
Definition at line 1274 of file class.t3lib_tstemplate.php. |
|
|
Fetches data about which TypoScript-matches there are at this page. Then it performs a matchingtest.
Definition at line 264 of file class.t3lib_tstemplate.php. References t3lib_div::makeInstance(). |
|
|
Fetches data about which TypoScript-matches there are at this page. Then it performs a matchingtest.
Definition at line 264 of file class.t3lib_tstemplate.php. References t3lib_div::makeInstance(). |
|
|
Loads Page TSconfig until the outermost template record and parses the configuration - if TSFE.constants object path is found it is merged with the default data in here!
Definition at line 883 of file class.t3lib_tstemplate.php. |
|
|
Loads Page TSconfig until the outermost template record and parses the configuration - if TSFE.constants object path is found it is merged with the default data in here!
Definition at line 883 of file class.t3lib_tstemplate.php. |
|
|
Appends (not prepends) additional TypoScript code to static template records/files as set in TYPO3_CONF_VARS For records the "uid" value is the integer of the "static_template" record For files the "uid" value is the extension key but with any underscores removed. Possibly with a path if its a static file selected in the template record
Definition at line 659 of file class.t3lib_tstemplate.php. |
|
|
Appends (not prepends) additional TypoScript code to static template records/files as set in TYPO3_CONF_VARS For records the "uid" value is the integer of the "static_template" record For files the "uid" value is the extension key but with any underscores removed. Possibly with a path if its a static file selected in the template record
Definition at line 659 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||
|
Compiles the content for the page <title> tag.
Definition at line 1153 of file class.t3lib_tstemplate.php. |
|
||||||||||||||||
|
Compiles the content for the page <title> tag.
Definition at line 1153 of file class.t3lib_tstemplate.php. |
|
|
Searching TypoScript code text (for constants, config (Setup) and editorcfg) for include instructions and does the inclusion if needed. Modifies
Definition at line 859 of file class.t3lib_tstemplate.php. References t3lib_TSparser::checkIncludeLines(). |
|
|
Searching TypoScript code text (for constants, config (Setup) and editorcfg) for include instructions and does the inclusion if needed. Modifies
Definition at line 859 of file class.t3lib_tstemplate.php. References t3lib_TSparser::checkIncludeLines(). |
|
||||||||||||||||||||||||
|
Checks if the template ($row) has some included templates and after including them it fills the arrays with the setup Builds up $this->rowSum
Definition at line 450 of file class.t3lib_tstemplate.php. References t3lib_div::_GET(), t3lib_div::inList(), and t3lib_div::intExplode(). |
|
||||||||||||||||||||||||
|
Checks if the template ($row) has some included templates and after including them it fills the arrays with the setup Builds up $this->rowSum
Definition at line 450 of file |