Return to Snippet

Revision: 41923
at February 24, 2011 23:52 by ef


Initial Code
sfContext::getInstance()->getRouting()->getCurrentRouteName()

Initial URL


Initial Description
I add this snippet because it's a little bit tricky to find it in API documentaion (it is in sfPatternRouting, not in sfRouting, like one would expect).

Initial Title
Get current route name anywhere from application

Initial Tags


Initial Language
Symfony