<?php include_once '../doc-typo3-funcs.php'; $doxygen_vars = array( "title" => "TYPO3 4.0.1: typo3_src-4.0.1/typo3/sysext/cms/tslib/media/scripts/testscript.inc Source File", "datetime" => "Sat Dec 2 19:22:30 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><a href="classes.html"><span>Classes</span></a></li> <li id="current"><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="nav"> <a class="el" href="dir_c8daf1ad746050abf985cc546c89e248.html">typo3_src-4.0.1</a> » <a class="el" href="dir_18071ae4545d8b3e0364d30c0659c74a.html">typo3</a> » <a class="el" href="dir_57bf1ed8249c1fd5b014486d01bcb27a.html">sysext</a> » <a class="el" href="dir_21aa24ee31dafa72450e939d0692a893.html">cms</a> » <a class="el" href="dir_da3d3c31fb60c430897a32b4a10f682b.html">tslib</a> » <a class="el" href="dir_5d5928c48a24a7022098bcc9e1331896.html">media</a> » <a class="el" href="dir_cdcc1b4ce87312c897e9f35885142bfd.html">scripts</a></div> <h1>testscript.inc</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <?php <a name="l00002"></a>00002 <span class="comment">// This is a test-script which may be included by the cObject PHP_SCRIPT in TypoScript</span> <a name="l00003"></a>00003 <span class="comment">// All output must go to $content.</span> <a name="l00004"></a>00004 <span class="comment">// This line will make sure that the page is NOT cached!! You may NOT set the value to false as some other code may have set it to true on purpose and this must be respected.</span> <a name="l00005"></a>00005 <span class="comment">// $GLOBALS['TSFE']->set_no_cache();</span> <a name="l00006"></a>00006 <span class="preprocessor"># TYPO3 CVS ID: $Id: testscript.inc 48 2003-10-26 17:07:44Z typo3 $</span> <a name="l00007"></a>00007 <span class="preprocessor"></span> <a name="l00008"></a>00008 <span class="keywordflow">if</span> (!is_object($this)) die ('Error: No parent object present.'); <a name="l00009"></a>00009 <a name="l00010"></a>00010 <a name="l00011"></a>00011 <a name="l00012"></a>00012 $content='This is a testscript'; <a name="l00013"></a>00013 <a name="l00014"></a>00014 ?> </pre></div><?php include_once '../doc-typo3-funcs.php'; get_footer(); ?>