update : 2015.11.03
php.shukuma.com검색:
|
Yaf_Router::addRoute(Yaf >=1.0.0) Yaf_Router::addRoute — Add new Route into Router 설명
public bool Yaf_Router::addRoute
( string
$name
, Yaf_Route_Abstract $route
)defaultly, Yaf_Router using a Yaf_Route_Static as its defualt route. you can add new routes into router's route stack by calling this method.
the newer route will be called before the older(route stack), and if the newer router return
인수이 함수는 인수가 없습니다. 반환값
예제Example #1 Yaf_Dispatcher::autoRender()example
<?php 참고
|