Solutions Open Source

Référence de la classe TSpagegen

Liste de tous les membres

Fonctions membres publiques

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


Documentation des fonctions membres

TSpagegen::pagegenInit (  ) 

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

Renvoie:
void

TSpagegen::getIncFiles (  ) 

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

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

TSpagegen::JSeventFunctions (  ) 

Processing JavaScript handlers

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

TSpagegen::renderContent (  ) 

Rendering the page content

Renvoie:
void

TSpagegen::renderContentWithHeader ( pageContent  ) 

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

Paramètres:
string The page content which TypoScript objects has generated
Renvoie:
void

TSpagegen::inline2TempFile ( str,
ext 
)

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

Paramètres:
string CSS styles / JavaScript to write to file.
string Extension: "css" or "js"
Renvoie:
string <script> or <link> tag for the file.

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.

Paramètres:
string The string in which to find $needle
string The string to find in $haystack
Renvoie:
boolean Returns true if $needle matches or is found in $haystack


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:43:31 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3