Yaf_Router::getCurrentRoute
Yaf_Router::getCurrentRoute
(Yaf >=1.0.0)
Yaf_Router::getCurrentRoute — Get the effective route name
Description
public string Yaf_Router::getCurrentRoute ( void )
Get the name of the route which is effective in the route process.
Note:
You should call this method after the route process finished, since before that, this method will always return
NULL
.