/** * Load the TypoScript Files form the defined * paths and construct a Runtime from the * parsed results * * @return void */ public function initializeTypoScriptRuntime() { if ($this->typoScriptRuntime === null) { $this->loadTypoScript(); $this->typoScriptRuntime = new Runtime($this->parsedTypoScript, $this->controllerContext); } if (isset($this->options['debugMode'])) { $this->typoScriptRuntime->setDebugMode($this->options['debugMode']); } if (isset($this->options['enableContentCache'])) { $this->typoScriptRuntime->setEnableContentCache($this->options['enableContentCache']); } }