Elgg  Version 6.0
Public Member Functions | Protected Attributes | List of all members
Elgg\Router\Route Class Reference

Route Wrapper. More...

Inheritance diagram for Elgg\Router\Route:

Public Member Functions

 setMatchedParameters (array $parameters)
 Set matched parameters. More...
 
 getMatchedParameters ()
 Get matched parameters. More...
 
 getName ()
 Get matched route name. More...
 
 resolvePageOwner ()
 Attemps to resolve page owner from route parameters. More...
 

Protected Attributes

 $parameters = []
 

Detailed Description

Route Wrapper.

Definition at line 8 of file Route.php.

Member Function Documentation

Elgg\Router\Route::getMatchedParameters ( )

Get matched parameters.

Returns
array

Definition at line 34 of file Route.php.

Elgg\Router\Route::getName ( )

Get matched route name.

Returns
string

Definition at line 42 of file Route.php.

Elgg\Router\Route::resolvePageOwner ( )

Attemps to resolve page owner from route parameters.

Returns
|null

Definition at line 52 of file Route.php.

Elgg\Router\Route::setMatchedParameters ( array  $parameters)

Set matched parameters.

Parameters
array$parametersParameters
Returns
static

Definition at line 23 of file Route.php.

Member Data Documentation

Elgg\Router\Route::$parameters = []
protected

Definition at line 13 of file Route.php.


The documentation for this class was generated from the following file: