‪TYPO3CMS  11.5
EmptyView.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 
26 {
27  public function ‪__construct()
28  {
29  trigger_error('Class ' . __CLASS__ . ' has been deprecated in v11 and will be removed with v12.');
30  }
31 
38  public function ‪setControllerContext(‪ControllerContext $controllerContext) {}
39 
47  public function ‪assign($key, $value)
48  {
49  return $this;
50  }
51 
58  public function ‪assignMultiple(array $values)
59  {
60  return $this;
61  }
62 
69  public function ‪canRender()
70  {
71  trigger_error('Method ' . __METHOD__ . ' has been deprecated in v11 and will be removed with v12.', E_USER_DEPRECATED);
72  return true;
73  }
74 
80  public function ‪render()
81  {
82  return '<!-- This is the output of the Empty View. An appropriate View was not found. -->';
83  }
84 
96  public function ‪__call($methodName, array $arguments) {}
97 
103  public function ‪initializeView() {}
104 }
‪TYPO3\CMS\Extbase\Mvc\View\EmptyView\__call
‪__call($methodName, array $arguments)
Definition: EmptyView.php:96
‪TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext
Definition: ControllerContext.php:30
‪TYPO3\CMS\Extbase\Mvc\View\EmptyView\__construct
‪__construct()
Definition: EmptyView.php:27
‪TYPO3\CMS\Extbase\Mvc\View\ViewInterface
Definition: ViewInterface.php:26
‪TYPO3\CMS\Extbase\Mvc\View\EmptyView
Definition: EmptyView.php:26
‪TYPO3\CMS\Extbase\Mvc\View\EmptyView\setControllerContext
‪setControllerContext(ControllerContext $controllerContext)
Definition: EmptyView.php:38
‪TYPO3\CMS\Extbase\Mvc\View\EmptyView\initializeView
‪initializeView()
Definition: EmptyView.php:103
‪TYPO3\CMS\Extbase\Mvc\View\EmptyView\assignMultiple
‪TYPO3 CMS Extbase Mvc View EmptyView assignMultiple(array $values)
Definition: EmptyView.php:58
‪TYPO3\CMS\Extbase\Mvc\View\EmptyView\canRender
‪bool canRender()
Definition: EmptyView.php:69
‪TYPO3\CMS\Extbase\Mvc\View\EmptyView\render
‪string render()
Definition: EmptyView.php:80
‪TYPO3\CMS\Extbase\Mvc\View
Definition: AbstractView.php:16
‪TYPO3\CMS\Extbase\Mvc\View\EmptyView\assign
‪TYPO3 CMS Extbase Mvc View EmptyView assign($key, $value)
Definition: EmptyView.php:47