TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
NotFoundView Class Reference
Inheritance diagram for NotFoundView:
AbstractView ViewInterface

Public Member Functions

 render ()
 
 __call ($methodName, array $arguments)
 
- Public Member Functions inherited from 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 AbstractView
 $controllerContext
 
 $variables = array()
 

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 (   $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 ( )
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 NotFoundView\render().

render ( )

Renders the not found view

Returns
string The rendered view
Exceptions
\TYPO3\CMS\Extbase\Mvc\Exceptionif no request has been set

Implements ViewInterface.

Definition at line 36 of file NotFoundView.php.

References NotFoundView\getTemplatePathAndFilename().

Member Data Documentation

$variablesMarker = array('errorMessage' => 'ERROR_MESSAGE')
protected

Definition at line 27 of file NotFoundView.php.