TSpagegen Class Reference

List of all members.

Public Member Functions

 pagegenInit ()
 getIncFiles ()
 JSeventFunctions ()
 renderContent ()
 renderContentWithHeader ($pageContent)
 inline2TempFile ($str, $ext)
 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.

Returns:
array Files to include. Paths are relative to PATH_site.

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

References $GLOBALS.

TSpagegen::getIncFiles  ) 
 

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

Returns:
array Files to include. Paths are relative to PATH_site.

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

References $GLOBALS.

TSpagegen::inline2TempFile str,
ext
 

Writes string to a temporary file named after the md5-hash of the string

Parameters:
string CSS styles / JavaScript to write to file.
string Extension: "css" or "js"
Returns:
string <script> or <link> tag for the file.

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

References $script, and t3lib_div::writeFile().

TSpagegen::inline2TempFile str,
ext
 

Writes string to a temporary file named after the md5-hash of the string

Parameters:
string CSS styles / JavaScript to write to file.
string Extension: "css" or "js"
Returns:
string <script> or <link> tag for the file.

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

References $script, and t3lib_div::writeFile().

Referenced by renderContentWithHeader().

TSpagegen::JSeventFunctions  ) 
 

Processing JavaScript handlers

Returns:
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 262 of file class.tslib_pagegen.php.

TSpagegen::JSeventFunctions  ) 
 

Processing JavaScript handlers

Returns:
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 262 of file class.tslib_pagegen.php.

Referenced by renderContentWithHeader().

TSpagegen::pagegenInit  ) 
 

Setting some vars in TSFE, primarily based on TypoScript config settings.

Returns:
void

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

References $GLOBALS, $val, t3lib_div::_GET(), t3lib_div::_GP(), debug(), t3lib_div::dirname(), t3lib_div::getIndpEnv(), t3lib_div::implodeArrayForUrl(), t3lib_div::intExplode(), t3lib_div::intInRange(), and t3lib_div::trimExplode().

TSpagegen::pagegenInit  ) 
 

Setting some vars in TSFE, primarily based on TypoScript config settings.

Returns:
void

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

References $GLOBALS, $val, t3lib_div::_GET(), t3lib_div::_GP(), debug(), t3lib_div::dirname(), t3lib_div::getIndpEnv(), t3lib_div::implodeArrayForUrl(), t3lib_div::intExplode(), t3lib_div::intInRange(), and t3lib_div::trimExplode().

TSpagegen::renderContent  ) 
 

Rendering the page content

Returns:
void

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

References $GLOBALS, and renderContentWithHeader().

TSpagegen::renderContent  ) 
 

Rendering the page content

Returns:
void

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

References $GLOBALS, and renderContentWithHeader().

TSpagegen::renderContentWithHeader pageContent  ) 
 

Rendering normal HTML-page with header by wrapping the generated content ($pageContent) in body-tags and setting the header accordingly.

Parameters:
string The page content which TypoScript objects has generated
Returns:
void
CSS STYLESHEET handling:

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

References $conf, $GLOBALS, $k2, $key, $val, a, Arial, color, decoration, t3lib_div::dirname(), family, free, t3lib_div::getIndpEnv(), Helvetica, t3lib_div::implodeAttributes(), inline2TempFile(), JSeventFunctions(), lang, t3lib_div::makeInstance(), margin, size, style, t3lib_div::trimExplode(), and value.

TSpagegen::renderContentWithHeader pageContent  ) 
 

Rendering normal HTML-page with header by wrapping the generated content ($pageContent) in body-tags and setting the header accordingly.

Parameters:
string The page content which TypoScript objects has generated
Returns:
void
CSS STYLESHEET handling:

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

References $conf, $GLOBALS, $k2, $key, $val, a, Arial, color, decoration, t3lib_div::dirname(), family, free, t3lib_div::getIndpEnv(), Helvetica, t3lib_div::implodeAttributes(), inline2TempFile(), JSeventFunctions(), lang, t3lib_div::makeInstance(), margin, size, style, t3lib_div::trimExplode(), and value.

Referenced by renderContent().


The documentation for this class was generated from the following files:
Generated on Wed Aug 10 07:58:30 2005 for TYPO3 3.8.0 by  doxygen 1.4.3-20050530