Posted By

ericserrat on 02/22/11


Tagged

Framework zend


Versions (?)

Check if a controller exists using Zend Framework


 / Published in: PHP
 

  1. $front = Zend_Controller_Front::getInstance();
  2. if ($front->getDispatcher()->isDispatchable($request)) {
  3. // Controller exists
  4. }

Report this snippet  

You need to login to post a comment.