« Yaf_Route_Interface::route
Yaf_Route_Map::assemble »
Bejson.com
PHP Manual
Yaf
The Yaf_Route_Map class
The Yaf_Route_Map class
(Yaf >=1.0.0)
简介
类摘要
class
Yaf_Route_Map
implements
Yaf_Route_Interface
{
/* 属性 */
protected
$
_ctl_router
;
protected
$
_delimeter
;
/* 方法 */
public
assemble
(
array
$info
,
array
$query
= ?
):
string
public
__construct
(
string
$controller_prefer
= false
,
string
$delimiter
= ''
)
public
route
(
Yaf_Request_Abstract
$request
):
bool
}
属性
_ctl_router
_delimeter
目录
Yaf_Route_Map::assemble
— 组合url
Yaf_Route_Map::__construct
— The __construct purpose
Yaf_Route_Map::route
— The route purpose