headMeta()->setIndent(4) . PHP_EOL; echo $this->headBase()->setIndent(4) . PHP_EOL; echo $this->headTitle()->setIndent(4) . PHP_EOL; echo $this->headLink()->setIndent(4) . PHP_EOL; if ($this->jslocales) { $syjStrings = new phptojs\JsObject('SyjStrings'); foreach ($this->jslocales as $prop => $value) { if (is_array($value)) { $syjStrings->$prop = call_user_func_array(array($this, 'translate'), $value); } else { $syjStrings->$prop = $this->translate($value); } } $this->headScript()->prependScript((string) $syjStrings); } echo $this->headScript()->setIndent(4) . PHP_EOL; ?>
rawmode) { echo $this->render('header.phtml'); } echo $this->layout()->content; if (!$this->rawmode) { echo $this->render('footer.phtml'); } ?>