Interface IConstants
Direct known implementers
MvcCore\IRouterIndirect known implementers
MvcCore\Ext\Routers\Localization, MvcCore\Ext\Routers\Media, MvcCore\Ext\Routers\MediaAndLocalization, MvcCore\Ext\Routers\Module, MvcCore\Ext\Routers\ModuleLocalization, MvcCore\Ext\Routers\ModuleMedia, MvcCore\Ext\Routers\ModuleMediaAndLocalization, MvcCore\Routerstring |
DEFAULT_ROUTE_NAME
Default system route name, automatically created for requests:
- For requests with explicitly defined ctrl and action in query string.
- For requests targeting homepage with ctrl and action |
#
'default'
|
string |
DEFAULT_ROUTE_NAME_ERROR
Default system route name, automatically created for error requests,
where was uncaught exception in ctrl or template, caught by application.
This route is created with controller and action |
#
'error'
|
string |
DEFAULT_ROUTE_NAME_NOT_FOUND
Default system route name, automatically created for not matched requests,
where was not possible to found requested ctrl or template or anything else.
This route is created with controller and action |
#
'not_found'
|
integer |
TRAILING_SLASH_ALWAYS
Always keep trailing slash in requested URL or always add trailing slash into URL and redirect to it. |
#
1
|
integer |
TRAILING_SLASH_BENEVOLENT
Be absolutely benevolent for trailing slash in requested url. |
#
0
|
integer |
TRAILING_SLASH_REMOVE
Always remove trailing slash from requested URL if there is any and redirect to it, except homepage. |
#
-1
|
string |
URL_PARAM_CONTROLLER
URL param name to define target controller. |
#
'controller'
|
string |
URL_PARAM_ACTION
URL param name to define target controller action. |
#
'action'
|
string |
URL_PARAM_ABSOLUTE
URL param name to build absolute URL address. |
#
'absolute'
|
string |
URL_PARAM_HOST
URL param name to place custom host into route
reverse pattern placeholder |
#
'host'
|
string |
URL_PARAM_DOMAIN
URL param name to place custom domain into route
reverse pattern placeholder |
#
'domain'
|
string |
URL_PARAM_TLD
URL param name to place custom top level domain
into route reverse pattern placeholder |
#
'tld'
|
string |
URL_PARAM_SLD
URL param name to place custom second level domain
into route reverse pattern placeholder |
#
'sld'
|
string |
URL_PARAM_BASEPATH
URL param name to place custom basePath into route
reverse pattern placeholder |
#
'basePath'
|
string |
URL_PARAM_PATH
URL param name to place custom basePath into route
reverse pattern placeholder |
#
'path'
|