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