‪TYPO3CMS  10.4
ReferringRequest.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 
22 {
29  public function ‪setArgument($argumentName, $value)
30  {
31  parent::setArgument($argumentName, $value);
32 
33  switch ($argumentName) {
34  case '@extension':
35  $this->‪setControllerExtensionName($value);
36  break;
37  case '@subpackage':
38  $this->‪setControllerSubpackageKey($value);
39  break;
40  case '@controller':
41  $this->‪setControllerName($value);
42  break;
43  case '@action':
44  $this->‪setControllerActionName($value);
45  break;
46  case '@format':
47  $this->‪setFormat($value);
48  break;
49  }
50  }
51 }
‪TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest\setArgument
‪setArgument($argumentName, $value)
Definition: ReferringRequest.php:29
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerActionName
‪setControllerActionName($actionName)
Definition: Request.php:297
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerSubpackageKey
‪setControllerSubpackageKey($subpackageKey)
Definition: Request.php:226
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerExtensionName
‪setControllerExtensionName($controllerExtensionName)
Definition: Request.php:193
‪TYPO3\CMS\Extbase\Mvc\Request\setFormat
‪setFormat($format)
Definition: Request.php:417
‪TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest
Definition: ReferringRequest.php:22
‪TYPO3\CMS\Extbase\Mvc\Web\Request
Definition: Request.php:23
‪TYPO3\CMS\Extbase\Mvc\Web
Definition: AbstractRequestHandler.php:16
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerName
‪setControllerName($controllerName)
Definition: Request.php:265