class vB5_Frontend_Routing

Properties

protected $routeId
protected $routeGuid
protected $controller
protected $action
protected $template
protected $arguments
protected $queryParameters
protected $pageKey
protected $breadcrumbs
$headlinks
protected $whitelist

Methods

processQueryString()

No description

getPath()

No description

setRoutes()

No description

static 
getControllerClassFromName(string $controller)

Get the class for a front end controller from the controller name

setRouteInfo(mixed $routeInfo)

Sets route information. Used by applicationLight to skip calling the full router. Mainly for template rendering

getRouteId()

No description

getRouteGuid()

No description

getController()

No description

getControllerClass()

No description

getAction()

No description

getTemplate()

No description

getArguments()

No description

getQueryParameters()

No description

getPageKey()

No description

getUserAction()

No description

getBreadcrumbs()

No description

getHeadLinks()

No description

Details

at line 30
protected processQueryString()

at line 49
getPath()

at line 88
setRoutes()

at line 334
static getControllerClassFromName(string $controller)

Get the class for a front end controller from the controller name

Controller name comes from the url, the route record, or the vb:action parameter controllers of the for package_name will be located in the core/package/controller directory and will be named Package_Controller_Name otherwise they will be located in the includes/vb5/frontend/controller directory and will be named vB_Frontend_Controller_Controllerstring

This is public to support the vb:action rendering in template runtime. That should be strong revisited as it doesn't really work the same way as the other references to an action (a function is highly unlikely to work as both a template action and as url/route)

Parameters

string $controller

at line 352
setRouteInfo(mixed $routeInfo)

Sets route information. Used by applicationLight to skip calling the full router. Mainly for template rendering

Parameters

mixed $routeInfo array can include routeid, routeGuid, action, arguments. template, queryParameters, or breadcrumbs.

at line 367
getRouteId()

at line 372
getRouteGuid()

at line 377
getController()

at line 382
getControllerClass()

at line 387
getAction()

at line 392
getTemplate()

at line 397
getArguments()

at line 402
getQueryParameters()

at line 407
getPageKey()

at line 412
getUserAction()

at line 417
getBreadcrumbs()