TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Extbase\Mvc\View\NotFoundView Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\View\NotFoundView:
TYPO3\CMS\Extbase\Mvc\View\AbstractView TYPO3\CMS\Extbase\Mvc\View\ViewInterface

Public Member Functions

 render ()
 
 __call ($methodName, array $arguments)
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Mvc\View\AbstractView
 setControllerContext (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)
 
 assign ($key, $value)
 
 assignMultiple (array $values)
 
 canRender (\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext)
 
 initializeView ()
 

Protected Member Functions

 getTemplatePathAndFilename ()
 

Protected Attributes

 $variablesMarker = ['errorMessage' => 'ERROR_MESSAGE']
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\Mvc\View\AbstractView
 $controllerContext
 
 $variables = []
 

Detailed Description

The not found view - a special case.

http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later

Definition at line 22 of file NotFoundView.php.

Member Function Documentation

◆ __call()

TYPO3\CMS\Extbase\Mvc\View\NotFoundView::__call (   $methodName,
array  $arguments 
)

A magic call method.

Because this not found view is used as a Special Case in situations when no matching view is available, it must be able to handle method calls which originally were directed to another type of view. This magic method should prevent PHP from issuing a fatal error.

Parameters
string$methodName
array$arguments
Returns
void

Definition at line 74 of file NotFoundView.php.

◆ getTemplatePathAndFilename()

TYPO3\CMS\Extbase\Mvc\View\NotFoundView::getTemplatePathAndFilename ( )
protected

Retrieves path and filename of the not-found-template

Returns
string path and filename of the not-found-template

Definition at line 57 of file NotFoundView.php.

Referenced by TYPO3\CMS\Extbase\Mvc\View\NotFoundView\render().

◆ render()

TYPO3\CMS\Extbase\Mvc\View\NotFoundView::render ( )

Renders the not found view

Returns
string The rendered view
Exceptions

Implements TYPO3\CMS\Extbase\Mvc\View\ViewInterface.

Definition at line 36 of file NotFoundView.php.

References TYPO3\CMS\Extbase\Mvc\View\NotFoundView\getTemplatePathAndFilename().

Member Data Documentation

◆ $variablesMarker

TYPO3\CMS\Extbase\Mvc\View\NotFoundView::$variablesMarker = ['errorMessage' => 'ERROR_MESSAGE']
protected

Definition at line 27 of file NotFoundView.php.