« Yaf_Route_Regex::route
Yaf_Route_Rewrite::assemble »
PHP Manual
Yaf
The Yaf_Route_Rewrite class
The Yaf_Route_Rewrite class
(Yaf >=1.0.0)
简介
类摘要
class
Yaf_Route_Rewrite
extends
Yaf_Route_Interface
implements
Yaf_Route_Interface
{
/* 属性 */
protected
$
_route
;
protected
$
_default
;
protected
$
_verify
;
/* 方法 */
public
assemble
(
array
$info
,
array
$query
= ?
):
string
public
__construct
(
string
$match
,
array
$route
,
array
$verify
= ?
)
public
route
(
Yaf_Request_Abstract
$request
):
bool
/* 继承的方法 */
abstract
public
Yaf_Route_Interface::assemble
(
array
$info
,
array
$query
= ?
):
string
abstract
public
Yaf_Route_Interface::route
(
Yaf_Request_Abstract
$request
):
bool
}
属性
_route
_default
_verify
目录
Yaf_Route_Rewrite::assemble
— 组合url
Yaf_Route_Rewrite::__construct
— The __construct purpose
Yaf_Route_Rewrite::route
— The route purpose