Hey,

You mean something like this:

$controllername = $this->getRequest()->getControllerName();
$actionname = $this->getRequest()->getActionName();

Vince.


On Mon, Apr 27, 2009 at 6:15 AM, prado <[email protected]> wrote:

>
> Hi
>
> I need some tasks to be done based on which controller and action is being
> called. Is there a way in Zend Framework to know which ones are being
> called??
>
> cheers
> --
> View this message in context:
> http://www.nabble.com/how-to-know-which-controller-and-action-is-being-called-tp23249460p23249460.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/

Reply via email to