Wishdale Posted November 30, 2010 Share Posted November 30, 2010 Hello! This is hopefully a question with an easy answer. What is happening in this method: public function routeStartup(Zend_Controller_Request_Abstract $request) { $this->getResponse() ->appendBody("<p>routeStartup() called</p>\n"); } what is the $request doing after the request_abstract I seem to have missed some really basic stuff here... Thank you very much for your help. Quote Link to comment https://forums.phpfreaks.com/topic/220217-can-someone-explain-what-happens-here-zend/ Share on other sites More sharing options...
trq Posted November 30, 2010 Share Posted November 30, 2010 $request is an argument to the routeStartup() method. It is of type Zend_Controller_Request_Abstract. Quote Link to comment https://forums.phpfreaks.com/topic/220217-can-someone-explain-what-happens-here-zend/#findComment-1141276 Share on other sites More sharing options...
Wishdale Posted November 30, 2010 Author Share Posted November 30, 2010 Thank you! I learned something new today; type hinting Quote Link to comment https://forums.phpfreaks.com/topic/220217-can-someone-explain-what-happens-here-zend/#findComment-1141294 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.