CoolCMS API

RoutingPanel
in package
implements IBarPanel

Tracy panel that lists the registered multilingual routes and the matched one.

Table of Contents

Interfaces

IBarPanel

Properties

$matchedRoute  : array<string, mixed>|null
$routes  : array<int, array{mask: string, params: array, type: string|null}>

Methods

__construct()  : mixed
addRoute()  : void
getPanel()  : string
getTab()  : string
setMatchedRoute()  : void

Properties

$matchedRoute

private array<string, mixed>|null $matchedRoute = null

$routes

private array<int, array{mask: string, params: array, type: string|null}> $routes = []

Methods

addRoute()

public addRoute(string $mask, array<string, mixed> $params[, string|null $type = null ]) : void
Parameters
$mask : string
$params : array<string, mixed>
$type : string|null = null

getPanel()

public getPanel() : string
Return values
string

setMatchedRoute()

public setMatchedRoute(array<string, mixed> $params) : void
Parameters
$params : array<string, mixed>
On this page

Search results