TYPO3 CMS  TYPO3_6-2
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 Tx_Extbase_MVC_View_NotFoundView

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 = array('errorMessage' => 'ERROR_MESSAGE')
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\Mvc\View\AbstractView
 $controllerContext
 
 $variables = array()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! 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 21 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 71 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 55 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 35 of file NotFoundView.php.

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

Member Data Documentation

◆ $variablesMarker

TYPO3\CMS\Extbase\Mvc\View\NotFoundView::$variablesMarker = array('errorMessage' => 'ERROR_MESSAGE')
protected

Definition at line 26 of file NotFoundView.php.