Class Core_Router_Route
Routes
$oCore_Router_Route = new Core_Router_Route('/news/({path})(page-{page}/)(tag/{tag}/)'); $oCore_Router_Route->setUri('/news/page-17/') ->execute() ->compress() ->sendHeaders() ->showBody();
Package: HostCMS\Core\Router
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at core/router/route.php
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at core/router/route.php
Methods summary
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
boolean
|
|
public
|
|
public
mixed
|
#
execute( )
Set controller columns and execute command controller method '{action}Action()'. Default action name is showAction() |
Properties summary
protected
string
|
$_controller
Controller name |
#
'Core_Command_Controller_Default'
|
protected
string
|
$_action
Action name |
#
'show'
|
protected
string
|
$_uriPattern
URI pattern |
#
NULL
|
protected
string
|
$_pregPattern
Preg pattern |
#
NULL
|
protected
array
|
$_controllerColumns
Array of columns will be set for controller object |
#
array()
|
protected
string
|
$_uri
URI |
#
NULL
|