*/ require ('init.php'); require ('template.php'); /** * Script Class, creating the content for the dummy script - which is just blank output. * * @author Kasper Skårhøj * @package TYPO3 * @subpackage core */ class SC_dummy { var $content; /** * Create content for the dummy script - outputting a blank page. * * @return void */ function main() { // Start page $this->content.=$GLOBALS['TBE_TEMPLATE']->startPage('Dummy document'); // End page: $this->content.=$GLOBALS['TBE_TEMPLATE']->endPage(); } /** * Outputting the accumulated content to screen * * @return void */ function printContent() { echo $this->content; } } if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/dummy.php'])) { include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/dummy.php']); } // Make instance: $SOBE = t3lib_div::makeInstance('SC_dummy'); $SOBE->main(); $SOBE->printContent(); ?>