Documentation TYPO3 par Ameos

TSpagegen Class Reference

List of all members.

Public Member Functions

 pagegenInit ()
 getIncFiles ()
 JSeventFunctions ()
 renderContent ()
 renderContentWithHeader ($pageContent)
 inline2TempFile ($str, $ext)

Detailed Description

Definition at line 88 of file class.tslib_pagegen.php.

Member Function Documentation

TSpagegen::getIncFiles  ) 

Returns an array with files to include. These files are the ones set up in TypoScript config.

array Files to include. Paths are relative to PATH_site.

Definition at line 271 of file class.tslib_pagegen.php.

TSpagegen::inline2TempFile str,

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"
string <script> or <link> tag for the file.

Definition at line 827 of file class.tslib_pagegen.php.

References t3lib_div::writeFile().

Referenced by renderContentWithHeader().

TSpagegen::JSeventFunctions  ) 

Processing JavaScript handlers

array Array with a) a JavaScript section with event handlers and variables set and b) an array with attributes for the body tag.

Definition at line 304 of file class.tslib_pagegen.php.

Referenced by renderContentWithHeader().

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::getIndpEnv(), t3lib_div::intExplode(), t3lib_div::intInRange(), and t3lib_div::trimExplode().

TSpagegen::renderContent  ) 

Rendering the page content


Definition at line 338 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 365 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().

The documentation for this class was generated from the following file:

Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6