Hi All, I've added a route ($router->addRoute) and want to set the default value of a variable as the current module name. I can't seem to get the current module name though.
Thanks, Jess Waigani wrote: > > Hi All, > > > $request = Zend_Controller_Front::getInstance()->getRequest(); > print_r($request); > > in the bootstrap index.php prints nothing. I've tried everyway I can think > of to getModuleName() from the bootstrap with no luck. I also tried > $request = new Zend_Controller_Request_Http(); $request->getModuleName(); > > > Anyone got any clues? > > Thanks, > -- View this message in context: http://www.nabble.com/getRequest-tf4531440s16154.html#a12932063 Sent from the Zend Framework mailing list archive at Nabble.com.
