PHP Class FluxBB\Server\Request

Afficher le fichier Open project: fluxbb/core Class Usage Examples

Protected Properties

Свойство Type Description
$handler string The requested handler.
$parameters array The parameters passed with the request.

Méthodes publiques

Méthode Description
__construct ( string $handler, array $parameters = [] ) Create a request instance.
get ( string $name = null, string $default = null ) : string | array Get one or all of the request parameters.
getHandler ( ) : string Get the requested handler.
getParameters ( ) : array Get all of the request parameters.

Method Details

__construct() public méthode

Create a request instance.
public __construct ( string $handler, array $parameters = [] )
$handler string
$parameters array

get() public méthode

Get one or all of the request parameters.
public get ( string $name = null, string $default = null ) : string | array
$name string
$default string
Résultat string | array

getHandler() public méthode

Get the requested handler.
public getHandler ( ) : string
Résultat string

getParameters() public méthode

Get all of the request parameters.
public getParameters ( ) : array
Résultat array

Property Details

$handler protected_oe property

The requested handler.
protected string $handler
Résultat string

$parameters protected_oe property

The parameters passed with the request.
protected array $parameters
Résultat array