Symfony 1.4 in which module / action am I ?

Sometimes you need to know in which module or action you are, here the code to know it

sfContext::getInstance()->getModuleName();
sfContext::getInstance()->getActionName();

Leave a Reply