‪TYPO3CMS  9.5
ReferringRequest.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
21 {
28  public function ‪setArgument($argumentName, $value)
29  {
30  parent::setArgument($argumentName, $value);
31 
32  switch ($argumentName) {
33  case '@extension':
34  $this->‪setControllerExtensionName($value);
35  break;
36  case '@subpackage':
37  $this->‪setControllerSubpackageKey($value);
38  break;
39  case '@controller':
40  $this->‪setControllerName($value);
41  break;
42  case '@action':
43  $this->‪setControllerActionName($value);
44  break;
45  case '@format':
46  $this->‪setFormat($value);
47  break;
48  case '@vendor':
49  $this->‪setControllerVendorName($value);
50  break;
51  }
52  }
53 }
‪TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest\setArgument
‪setArgument($argumentName, $value)
Definition: ReferringRequest.php:28
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerActionName
‪setControllerActionName($actionName)
Definition: Request.php:282
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerSubpackageKey
‪setControllerSubpackageKey($subpackageKey)
Definition: Request.php:227
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerExtensionName
‪setControllerExtensionName($controllerExtensionName)
Definition: Request.php:194
‪TYPO3\CMS\Extbase\Mvc\Request\setFormat
‪setFormat($format)
Definition: Request.php:421
‪TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest
Definition: ReferringRequest.php:21
‪TYPO3\CMS\Extbase\Mvc\Web\Request
Definition: Request.php:21
‪TYPO3\CMS\Extbase\Mvc\Web
Definition: AbstractRequestHandler.php:2
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerName
‪setControllerName($controllerName)
Definition: Request.php:252
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerVendorName
‪setControllerVendorName($vendorName)
Definition: Request.php:346