Methods summary
public static
Nethgui\Controller\RequestInterface
|
|
public
array
|
#
getPath( )
URL (sub)path segments
Returns
array
See
getParameters()
Api
Implementation of
|
public
string
|
#
getExtension( )
Get the "file extension" of the request.
Get the "file extension" of the request.
"File extension" is the substring after the last "." character in the
URL path.
Deprecated
since 1.2.4
Returns
string
See
Implementation of
|
public
mixed
|
#
getParameter( string $parameterName )
Get a parameter value
Parameters
Returns
mixed
Api
Implementation of
|
public
Nethgui\Controller\RequestInterface
|
#
spawnRequest( string $parameterName, array $arguments = array() )
Spawn a new request.
The request will receive a subset of parameters and arguments according
to the $subsetName parameter.
Parameters
- $parameterName
- $subsetName The name of parameters/arguments
- $arguments
- $path URL path segments values
Returns
Api
Implementation of
|
public
array
|
#
getParameterNames( )
Get a list of parameter names.
Get a list of parameter names.
Values submitted by the User are called "parameters".
Returns
array
See
getModuleArguments()
Api
Implementation of
|
public
Nethgui\Authorization\UserInterface
|
#
getUser( )
The User that has sent the request.
The User that has sent the request.
Returns
Api
Implementation of
|
public
boolean
|
#
hasParameter( string $parameterName )
Checks if $parameterName exists in the request
Checks if $parameterName exists in the request
Parameters
Returns
boolean
Api
Implementation of
|
public
boolean
|
#
isEmpty( )
Indicates whether the request contains any parameter or not.
Indicates whether the request contains any parameter or not.
Returns
boolean
Api
Implementation of
|
public
boolean
|
#
isMutation( )
Indicates whether the request is a mutation request
Indicates whether the request is a mutation request
Returns
boolean
Api
Implementation of
|
public
boolean
|
#
isValidated( )
Tells if a request has been successfully validated
Tells if a request has been successfully validated
Returns
boolean
Api
Implementation of
|
public
mixed
|
#
getArgument( string $argumentName )
Get an argument value
Deprecated
Parameters
- $argumentName
- $parameterName
Returns
mixed
Implementation of
|
public
array
|
#
getArgumentNames( )
Get a list of argument names
Get a list of argument names
Deprecated
since 1.2.4
Returns
array
Implementation of
|
public
boolean
|
#
hasArgument( string $argumentName )
Checks if $argumentName exists in the request
Checks if $argumentName exists in the request
Deprecated
since 1.2.4
Parameters
Returns
boolean
Implementation of
|
public
|
|
public
string
|
#
getFormat( )
The requested output format, used to build the Renderer object
The requested output format, used to build the Renderer object
Returns
string
Api
Implementation of
|
public
string
|
#
getLanguageCode( )
The requested output language, used to build the Translator
The requested output language, used to build the Translator
Returns
string
Api
Implementation of
|
public
string
|
#
getLocale( )
The RFC 4646 compliant request locale
The RFC 4646 compliant request locale
Returns
string
Since
1.7.0
Api
Implementation of
|