-- xing93111 <[EMAIL PROTECTED]> wrote (on Thursday, 10 April 2008, 11:57 AM -0700): > I read some code of ZF. I noticed that there is no action methods which have > arguments. So can action methods in controllers have arguments?
You can, but they won't be used in normal dispatching. Action arguments are encapsulated in the request object, which you can retrieve using $this->getRequest() in your action controller. From there, you can get params created via routing, or those encapsulated in super globals such as $_GET and $_POST. -- Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
