/** * startDump * * @return void */ protected function startDump() { @set_time_limit(0); $this->set('silent', true); if (!isset(\XLite\Core\Request::getInstance()->mode) || 'cp' != \XLite\Core\Request::getInstance()->mode) { func_refresh_start(); $this->dumpStarted = true; } }
/** * Display header of simplified page * * @param string $title Title OPTIONAL * @param boolean $scrollDown Scroll down flag OPTIONAL * * @return void */ protected function displayPageHeader($title = '', $scrollDown = false) { $output = <<<OUT <html> <head> <title>{$title}</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> OUT; if ($scrollDown) { $this->dumpStarted = true; $output .= func_refresh_start(false); } $output .= <<<OUT <div style='font-size: 12px;'> OUT; echo $output; }