2 namespace TYPO3\CMS\Extbase\Mvc\View;
38 if (!is_object($this->controllerContext->getRequest())) {
39 throw new \TYPO3\CMS\Extbase\Mvc\Exception(
'Can\'t render view without request object.', 1192450280);
42 if ($this->controllerContext->getRequest() instanceof \TYPO3\CMS\Extbase\Mvc\Web\Request) {
43 $template = str_replace(
'###BASEURI###', \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv(
'TYPO3_SITE_URL'), $template);
45 foreach ($this->variablesMarker as $variableName => $marker) {
46 $variableValue = isset($this->variables[$variableName]) ? $this->variables[$variableName] :
'';
47 $template = str_replace(
'###' . $marker .
'###', $variableValue, $template);
59 return \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath(
'extbase') .
'Resources/Private/MVC/NotFoundView_Template.html';
74 public function __call($methodName, array $arguments)