getArgument |
( |
|
$argumentName | ) |
|
Returns the value of the specified argument
- Parameters
-
string | $argumentName | Name of the argument |
- Returns
- string Value of the argument
- Exceptions
-
\TYPO3\CMS\Extbase\Mvc\Exception\NoSuchArgumentException | if such an argument does not exist |
Implemented in Request, and Request.
Returns an array of arguments and their values
- Returns
- array Array of arguments and their values (which may be arguments and values as well)
Implemented in Request, and Request.
getControllerObjectName |
( |
| ) |
|
Returns the object name of the controller defined by the package key and controller name
- Returns
- string The controller's Object Name
- Exceptions
-
\TYPO3\CMS\Extbase\Mvc\Exception\NoSuchControllerException | if the controller does not exist |
Implemented in Request, and Request.
hasArgument |
( |
|
$argumentName | ) |
|
Checks if an argument of the given name exists (is set)
- Parameters
-
string | $argumentName | Name of the argument to check |
- Returns
- bool TRUE if the argument is set, otherwise FALSE
Implemented in Request, and Request.
If this request has been dispatched and addressed by the responsible controller and the response is ready to be sent.
The dispatcher will try to dispatch the request again if it has not been addressed yet.
- Returns
- bool TRUE if this request has been disptached successfully
Implemented in Request, and Request.
setArgument |
( |
|
$argumentName, |
|
|
|
$value |
|
) |
| |
Sets the value of the specified argument
- Parameters
-
string | $argumentName | Name of the argument to set |
mixed | $value | The new value |
- Returns
- void
Implemented in Request, and Request.
setArguments |
( |
array |
$arguments | ) |
|
Sets the whole arguments array and therefore replaces any arguments which existed before.
- Parameters
-
array | $arguments | An array of argument names and their values |
- Returns
- void
Implemented in Request, and Request.
Sets the dispatched flag
- Parameters
-
bool | $flag | If this request has been dispatched |
- Returns
- void
Implemented in Request, and Request.