Commit a7efd4ff authored by CiaranG's avatar CiaranG

Plugins - added a new event (RouterInitialized) which allows a plugin to...

Plugins - added a new event (RouterInitialized) which allows a plugin to register new paths to be routed
parent 115519a5
......@@ -99,3 +99,7 @@ StartPublicGroupNav: Showing the public group nav menu
EndPublicGroupNav: At the end of the public group nav menu
- $action: the current action
RouterInitialized: After the router instance has been initialized
- $m: the Net_URL_Mapper that has just been set up
......@@ -393,6 +393,8 @@ class Router
array('action' => 'showstream'),
array('nickname' => '[a-zA-Z0-9]{1,64}'));
Event::handle('RouterInitialized', array($m));
return $m;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment