Class RoutingPanel
- MvcCore\Ext\Debug\Tracy\RoutingPanel implements Tracy\IBarPanel
Located at ext-debug-tracy-routing/src/MvcCore/Ext/Tracy/RoutingPanel.php
public
string
|
|
public
string
|
|
public
string
|
|
public static
object
|
#
SetUpViewData( )
Set up view data, if data are completed, return them directly. - complete basic \MvcCore core objects to complere other view data - complete panel title - complete routes table items - set result data into static field |
protected static
object
|
#
completeItem(
Complete single route table row view data. In very special cases $currentRoute object shoud be null and also $route object shoud be null, those cases are mostly some combinations with server errors (500) or not found errors (404). - first column - second column - third column - fourth column only if route is the same ass current route - complete result collection and returns it |
protected static
array
|
#
completeParams(
Complete third or fourth column params collection template string. |
protected static
string
|
#
completeFormatedPatternOrReverseCharGroups( string $str, string[] $brackets )
Add into route regular expression pattern or reverse ($route->Pattern or $route->Reverse) around all detected character groups special html span elements to color them in template. |
protected static
array[]
|
#
completeMatchingBracketsPositions( string $str, string $begin, string $end )
Complete collection with first level matching brackets, info about substrings between them and theur opening and closing positions to complete task with character group coloring in local method self::completeFormatedPatternOrReverseCharGroups(). |
protected static
array
|
#
completeCtrlActionLink( string $ctrlName = '', string $actionName = '' )
Try to complete editor link by controller class name and it's action by PHP reflection object if controller class exist and it's possible by loaded controller class to create reflection object to complete link properties. Result is returned as array containing: 0 - editor link url 1 - link text |
protected static
string
|
#
getRouteLocalizedRecord(
Get route non-localized or localized record - 'Pattern' and 'Reverse' |
string |
VERSION
MvcCore Extension - Debug - Tracy Panel - Routing - version: Comparation by PHP function version_compare(); |
#
'4.2.0'
|
public static
string
|
$Id
Debug panel id |
#
'routing-panel'
|
protected static
stdClass
|
$viewData
Prepared view data, only once, to render debug tab and debug panel content. |
#
NULL
|