Methods

Sets the controller request object.

__construct(\Request $request) 

Parameters

$request

\Request

The current request object

This method gets called after the action is called

after(\Response | string $response) : \Response

Parameters

$response

\Responsestring

Returns

\Response

This method gets called before the action is called

before() 

This method returns the named parameter requested, or all of them if no parameter is given.

param(string $param, mixed $default) : mixed

Parameters

$param

string

The name of the parameter

$default

mixed

Default value

Returns

mixed

This method returns all of the named parameters.

params() : array

Returns

array

 Properties

 

<p>The current Request object</p>

$request : \Fuel\Core\Request

 

<p>The default response status</p>

$response_status : Integer