Documentation TYPO3 par Ameos |
Public Member Functions | |
| pagegenInit () | |
| getIncFiles () | |
| JSeventFunctions () | |
| renderContent () | |
| renderContentWithHeader ($pageContent) | |
| inline2TempFile ($str, $ext) | |
| isAllowedLinkVarValue ($haystack, $needle) | |
Definition at line 88 of file class.tslib_pagegen.php.
| TSpagegen::pagegenInit | ( | ) |
Setting some vars in TSFE, primarily based on TypoScript config settings.
Definition at line 95 of file class.tslib_pagegen.php.
References t3lib_div::_GET(), t3lib_div::_GP(), t3lib_div::dirname(), t3lib_div::getIndpEnv(), t3lib_div::implodeArrayForUrl(), t3lib_div::intExplode(), t3lib_div::intInRange(), isAllowedLinkVarValue(), and t3lib_div::trimExplode().
| TSpagegen::getIncFiles | ( | ) |
Returns an array with files to include. These files are the ones set up in TypoScript config.
Definition at line 272 of file class.tslib_pagegen.php.
| TSpagegen::JSeventFunctions | ( | ) |
Processing JavaScript handlers
Definition at line 305 of file class.tslib_pagegen.php.
Referenced by renderContentWithHeader().
| TSpagegen::renderContent | ( | ) |
Rendering the page content
Definition at line 335 of file class.tslib_pagegen.php.
References renderContentWithHeader().
| TSpagegen::renderContentWithHeader | ( | $ | pageContent | ) |
Rendering normal HTML-page with header by wrapping the generated content ($pageContent) in body-tags and setting the header accordingly.
| string | The page content which TypoScript objects has generated |
Definition at line 362 of file class.tslib_pagegen.php.
References t3lib_div::dirname(), t3lib_div::getIndpEnv(), t3lib_div::implodeAttributes(), inline2TempFile(), JSeventFunctions(), t3lib_div::makeInstance(), and t3lib_div::trimExplode().
Referenced by renderContent().
| TSpagegen::inline2TempFile | ( | $ | str, | |
| $ | ext | |||
| ) |
Writes string to a temporary file named after the md5-hash of the string
| string | CSS styles / JavaScript to write to file. | |
| string | Extension: "css" or "js" |
Definition at line 862 of file class.tslib_pagegen.php.
References t3lib_div::writeFile().
Referenced by renderContentWithHeader().
| TSpagegen::isAllowedLinkVarValue | ( | $ | haystack, | |
| $ | needle | |||
| ) |
Checks if the value defined in "config.linkVars" contains an allowed value. Otherwise, return false which means the value will not be added to any links.
| string | The string in which to find $needle | |
| string | The string to find in $haystack |
Definition at line 896 of file class.tslib_pagegen.php.
References t3lib_div::testInt().
Referenced by pagegenInit().
1.4.6