RequestInterface

Contract for an extbase request.

Tags
todo

v12: interface RequestInterface extends ServerRequestInterface

Table of Contents

Methods

getArgument()  : string|array<string|int, mixed>
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<string|int, mixed>
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<string|int, mixed>

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

Search results