\User_Middleware_Space

User space information

Allow to manage some user specific data and settings.

Summary

Methods
Properties
Constants
process_request()
process_response()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

process_request()

process_request(  $request) : boolean

Process the request.

When processing the request, if user is found related user-space will be fetch and loaded into $request->user_space.

Parameters

$request

Returns

boolean —

false

process_response()

process_response(  $request,   $response) : \Pluf_HTTP_Response

Process the response of a view.

If the user_space has been modified save it into the database.

Parameters

$request
$response

Returns

\Pluf_HTTP_Response

The response