Wednesday, 11 March 2015

ZendFramework Tricks

 

Get module name in Zend Framework , bootstrap.php

 
$module = $this->getRequest()->getModuleName();
$this->url(array('module'=>$module,'controller'=>'index','action'=>'index'),'default',true) ;

No comments:

Post a Comment

Thank you for you feedback