update : 2015.11.03
php.shukuma.com검색:
|
The Yaf_Route_Map class(Yaf >=1.0.0) 소개Yaf_Route_Map is a built-in route, it simply convert a URI endpoint (that part of the URI which comes after the base URI: see Yaf_Request_Abstract::setBaseUri()) to a controller name or action name(depends on the paramter passed to Yaf_Route_Map::__construct()) in following rule: A => controller A. A/B/C => controller A_B_C. A/B/C/D/E => controller A_B_C_D_E. If the second parameter of Yaf_Route_Map::__construct() is specificed, then only the part before delimeter of URI will used to routing, the part after it is used to routing request parameters (see the example section of Yaf_Route_Map::__construct()). 클래스 개요
Yaf_Route_Map
implements
Yaf_Route_Interface
{
/* 프로퍼티 */
protected
$_ctl_router
;
protected
$_delimeter
;
/* 메소드 */
}프로퍼티
Table of Contents
|