PHP Class Xpressengine\Routing\RouteCollection

Author: XE Developers ([email protected])
Inheritance: extends Illuminate\Routing\RouteCollection
Exibir arquivo Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$moduleList array A look-up table of routes by xpressengine source.
$settingsMenuList

Public Methods

Method Description
getByModule ( string $module ) : Illuminate\Routing\Route | null Get a route instance by its source.
getSettingsMenuRoutes ( ) : array getSettingsMenuRoutes

Protected Methods

Method Description
addLookups ( Illuminate\Routing\Route $route ) : void Add the route to any look-up tables if necessary.
addToModuleList ( array $action, Illuminate\Routing\Route $route ) : void Add a route to the controller source dictionary.
addToSettingsMenuList ( Illuminate\Routing\Route $route ) : void addToSettingsMenuList

Method Details

addLookups() protected method

Add the route to any look-up tables if necessary.
protected addLookups ( Illuminate\Routing\Route $route ) : void
$route Illuminate\Routing\Route illuminate route
return void

addToModuleList() protected method

Add a route to the controller source dictionary.
protected addToModuleList ( array $action, Illuminate\Routing\Route $route ) : void
$action array action array
$route Illuminate\Routing\Route route
return void

addToSettingsMenuList() protected method

addToSettingsMenuList
protected addToSettingsMenuList ( Illuminate\Routing\Route $route ) : void
$route Illuminate\Routing\Route route
return void

getByModule() public method

Get a route instance by its source.
public getByModule ( string $module ) : Illuminate\Routing\Route | null
$module string module id
return Illuminate\Routing\Route | null

getSettingsMenuRoutes() public method

getSettingsMenuRoutes
public getSettingsMenuRoutes ( ) : array
return array

Property Details

$moduleList protected_oe property

A look-up table of routes by xpressengine source.
protected array $moduleList
return array

$settingsMenuList protected_oe property

protected $settingsMenuList