<?php include_once '../doc-typo3-funcs.php'; $doxygen_vars = array( "title" => "TYPO3 4.0.1: TSpagegen Class Reference", "datetime" => "Sat Dec 2 19:27:01 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?> <!-- Generated by Doxygen 1.4.6 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li id="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div> <h1>TSpagegen Class Reference</h1><!-- doxytag: class="TSpagegen" --><a href="classTSpagegen-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTSpagegen.html#be7c0cd52296edab380477004160f15d">pagegenInit</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTSpagegen.html#1bb0866b3abc589360fedf399f74e8f1">getIncFiles</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTSpagegen.html#e67d5a1a46b75606d274e646f21f6bb0">JSeventFunctions</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTSpagegen.html#6e379fc5694ea3e53686223b47b26f93">renderContent</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTSpagegen.html#cde5d99953d0c6b0ec5808e2562b6858">renderContentWithHeader</a> ($pageContent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTSpagegen.html#2307955b6cc785508ba0f1461cd111d7">inline2TempFile</a> ($str, $ext)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <p> Definition at line <a class="el" href="class_8tslib__pagegen_8php-source.html#l00088">88</a> of file <a class="el" href="class_8tslib__pagegen_8php-source.html">class.tslib_pagegen.php</a>.<hr><h2>Member Function Documentation</h2> <a class="anchor" name="1bb0866b3abc589360fedf399f74e8f1"></a><!-- doxytag: member="TSpagegen::getIncFiles" ref="1bb0866b3abc589360fedf399f74e8f1" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TSpagegen::getIncFiles </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Returns an array with files to include. These files are the ones set up in TypoScript config.<p> <dl compact><dt><b>Returns:</b></dt><dd>array Files to include. Paths are relative to PATH_site. </dd></dl> <p> Definition at line <a class="el" href="class_8tslib__pagegen_8php-source.html#l00289">289</a> of file <a class="el" href="class_8tslib__pagegen_8php-source.html">class.tslib_pagegen.php</a>. </td> </tr> </table> <a class="anchor" name="2307955b6cc785508ba0f1461cd111d7"></a><!-- doxytag: member="TSpagegen::inline2TempFile" ref="2307955b6cc785508ba0f1461cd111d7" args="($str, $ext)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TSpagegen::inline2TempFile </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>$ </td> <td class="mdname" nowrap> <em>ext</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Writes string to a temporary file named after the md5-hash of the string<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>CSS styles / JavaScript to write to file. </td></tr> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>Extension: "css" or "js" </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>string <script> or <link> tag for the file. </dd></dl> <p> Definition at line <a class="el" href="class_8tslib__pagegen_8php-source.html#l00845">845</a> of file <a class="el" href="class_8tslib__pagegen_8php-source.html">class.tslib_pagegen.php</a>. <p> References <a class="el" href="class_8t3lib__div_8php-source.html#l02409">t3lib_div::writeFile()</a>. <p> Referenced by <a class="el" href="class_8tslib__pagegen_8php-source.html#l00383">renderContentWithHeader()</a>. </td> </tr> </table> <a class="anchor" name="e67d5a1a46b75606d274e646f21f6bb0"></a><!-- doxytag: member="TSpagegen::JSeventFunctions" ref="e67d5a1a46b75606d274e646f21f6bb0" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TSpagegen::JSeventFunctions </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Processing JavaScript handlers<p> <dl compact><dt><b>Returns:</b></dt><dd>array Array with a) a JavaScript section with event handlers and variables set and b) an array with attributes for the body tag. </dd></dl> <p> Definition at line <a class="el" href="class_8tslib__pagegen_8php-source.html#l00322">322</a> of file <a class="el" href="class_8tslib__pagegen_8php-source.html">class.tslib_pagegen.php</a>. <p> Referenced by <a class="el" href="class_8tslib__pagegen_8php-source.html#l00383">renderContentWithHeader()</a>. </td> </tr> </table> <a class="anchor" name="be7c0cd52296edab380477004160f15d"></a><!-- doxytag: member="TSpagegen::pagegenInit" ref="be7c0cd52296edab380477004160f15d" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TSpagegen::pagegenInit </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Setting some vars in TSFE, primarily based on TypoScript config settings.<p> <dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl> <p> Definition at line <a class="el" href="class_8tslib__pagegen_8php-source.html#l00095">95</a> of file <a class="el" href="class_8tslib__pagegen_8php-source.html">class.tslib_pagegen.php</a>. <p> References <a class="el" href="incfile_8php-source.html#l00046">t3lib_div::getIndpEnv()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l01413">t3lib_div::intExplode()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l00894">t3lib_div::intInRange()</a>, and <a class="el" href="incfile_8php-source.html#l00011">t3lib_div::trimExplode()</a>. </td> </tr> </table> <a class="anchor" name="6e379fc5694ea3e53686223b47b26f93"></a><!-- doxytag: member="TSpagegen::renderContent" ref="6e379fc5694ea3e53686223b47b26f93" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TSpagegen::renderContent </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Rendering the page content<p> <dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl> <p> Definition at line <a class="el" href="class_8tslib__pagegen_8php-source.html#l00356">356</a> of file <a class="el" href="class_8tslib__pagegen_8php-source.html">class.tslib_pagegen.php</a>. <p> References <a class="el" href="class_8tslib__pagegen_8php-source.html#l00383">renderContentWithHeader()</a>. </td> </tr> </table> <a class="anchor" name="cde5d99953d0c6b0ec5808e2562b6858"></a><!-- doxytag: member="TSpagegen::renderContentWithHeader" ref="cde5d99953d0c6b0ec5808e2562b6858" args="($pageContent)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TSpagegen::renderContentWithHeader </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">$ </td> <td class="mdname1" valign="top" nowrap> <em>pageContent</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Rendering normal HTML-page with header by wrapping the generated content ($pageContent) in body-tags and setting the header accordingly.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>string</em> </td><td>The page content which TypoScript objects has generated </td></tr> </table> </dl> <dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl> <p> Definition at line <a class="el" href="class_8tslib__pagegen_8php-source.html#l00383">383</a> of file <a class="el" href="class_8tslib__pagegen_8php-source.html">class.tslib_pagegen.php</a>. <p> References <a class="el" href="incfile_8php-source.html#l00023">t3lib_div::dirname()</a>, <a class="el" href="incfile_8php-source.html#l00046">t3lib_div::getIndpEnv()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l01811">t3lib_div::implodeAttributes()</a>, <a class="el" href="class_8tslib__pagegen_8php-source.html#l00845">inline2TempFile()</a>, <a class="el" href="class_8tslib__pagegen_8php-source.html#l00322">JSeventFunctions()</a>, <a class="el" href="class_8t3lib__div_8php-source.html#l03984">t3lib_div::makeInstance()</a>, and <a class="el" href="incfile_8php-source.html#l00011">t3lib_div::trimExplode()</a>. <p> Referenced by <a class="el" href="class_8tslib__pagegen_8php-source.html#l00356">renderContent()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li>typo3_src-4.0.1/typo3/sysext/cms/tslib/<a class="el" href="class_8tslib__pagegen_8php-source.html">class.tslib_pagegen.php</a></ul> <?php include_once '../doc-typo3-funcs.php'; get_footer(); ?>