RequestInterface

interface \TYPO3\CMS\Extbase\Mvc\RequestInterface

Contract for an extbase request.

Tags

todo

v12: interface RequestInterface extends ServerRequestInterface

Table of Contents

Methods

getArgument()  : string|array
Returns the value of the specified argument.
getArguments()  : mixed
Returns an array of extbase arguments and their values.
getControllerObjectName()  : string
Returns the object name of the controller defined by the package key and controller name.
hasArgument()  : mixed
Checks if an argument of the given name exists (is set).

Methods

getArgument()

Returns the value of the specified argument.

public getArgument(string $argumentName) : string|array

Parameters

$argumentName : string

Name of the argument

Tags

throws
NoSuchArgumentException

if such an argument does not exist

todo

v12: public function getArgument(string $argumentName)

Return values

string|array —

Value of the argument

getArguments()

Returns an array of extbase arguments and their values.

public getArguments() : mixed

Tags

todo

v12: public function getArguments(): array

getControllerObjectName()

Returns the object name of the controller defined by the package key and controller name.

public getControllerObjectName() : string

Tags

todo

v12: public function getControllerObjectName(): string

Return values

string —

The controller's Object Name

hasArgument()

Checks if an argument of the given name exists (is set).

public hasArgument(mixed $argumentName) : mixed

Parameters

$argumentName : mixed

Tags

todo

v12: public function hasArgument(string $argumentName): bool

On this page