TYPO3 CMS  TYPO3_6-2
FrontendDocumentTemplate.php
Go to the documentation of this file.
1 <?php
3 
21 
27  public function getPageRenderer() {
28  if (!isset($this->pageRenderer)) {
29  $this->pageRenderer = $GLOBALS['TSFE']->getPageRenderer();
30  }
31  return $this->pageRenderer;
32  }
33 
40  public function insertHeaderData() {
41  $this->backPath = ($GLOBALS['TSFE']->backPath = TYPO3_mainDir);
42  $this->pageRenderer->setBackPath($this->backPath);
43  $this->docStyle();
44  // Add applied JS/CSS to $GLOBALS['TSFE']
45  if ($this->JScode) {
46  $this->pageRenderer->addHeaderData($this->JScode);
47  }
48  if (count($this->JScodeArray)) {
49  foreach ($this->JScodeArray as $name => $code) {
50  $this->pageRenderer->addJsInlineCode($name, $code, FALSE);
51  }
52  }
53  }
54 
55 }
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]