diff --git a/reference/yaf/yaf_router/addconfig.xml b/reference/yaf/yaf_router/addconfig.xml index af12c912f0..9d1fab9108 100644 --- a/reference/yaf/yaf_router/addconfig.xml +++ b/reference/yaf/yaf_router/addconfig.xml @@ -10,16 +10,13 @@ &reftitle.description; - public voidYaf_Router::addConfig + public boolYaf_Router::addConfig Yaf_Config_Abstractconfig - Add Routes defined in application.ini into + Add routes defined by configs into Yaf_Router's route stack - - &warn.undocumented.func; - @@ -30,7 +27,8 @@ &reftitle.returnvalues; - + An Yaf_Config_Abstract instance, which should + contains one or more valid route configs diff --git a/reference/yaf/yaf_router/addroute.xml b/reference/yaf/yaf_router/addroute.xml index 5e1f3de047..a69022fedb 100644 --- a/reference/yaf/yaf_router/addroute.xml +++ b/reference/yaf/yaf_router/addroute.xml @@ -10,22 +10,19 @@ &reftitle.description; - public Yaf_RouterYaf_Router::addRoute + public boolYaf_Router::addRoute stringname Yaf_Route_Abstractroute 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. + 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 TRUE, the router process will be end. otherwise, the older one will be called. - - &warn.undocumented.func; - @@ -36,7 +33,7 @@ &reftitle.returnvalues; - + diff --git a/reference/yaf/yaf_router/construct.xml b/reference/yaf/yaf_router/construct.xml index fe1e2fbe69..0ddfd63a07 100644 --- a/reference/yaf/yaf_router/construct.xml +++ b/reference/yaf/yaf_router/construct.xml @@ -16,9 +16,6 @@ - - &warn.undocumented.func; - diff --git a/reference/yaf/yaf_router/getcurrentroute.xml b/reference/yaf/yaf_router/getcurrentroute.xml index 6e8f3b0b9c..f7aa0ccf56 100644 --- a/reference/yaf/yaf_router/getcurrentroute.xml +++ b/reference/yaf/yaf_router/getcurrentroute.xml @@ -22,9 +22,6 @@ - - &warn.undocumented.func; - diff --git a/reference/yaf/yaf_router/getroute.xml b/reference/yaf/yaf_router/getroute.xml index 8aa2ecc6b1..4acb9245b6 100644 --- a/reference/yaf/yaf_router/getroute.xml +++ b/reference/yaf/yaf_router/getroute.xml @@ -4,21 +4,19 @@ Yaf_Router::getRoute - The getRoute purpose + Retrieve a route by name &reftitle.description; - public voidYaf_Router::getRoute + public Yaf_Route_InterfaceYaf_Router::getRoute stringname - + Retrieve a route by name, see also + Yaf_Router::getCurrentRoute - - &warn.undocumented.func; - @@ -34,6 +32,16 @@ + + &reftitle.seealso; + + Yaf_Bootstrap_Abstract + Yaf_Plugin_Abstract + Yaf_Router::addRoute + Yaf_Router::getCurrentRoute + + +