First time here? Check out the FAQ!
asked May 27 '11 at 18:59
gaisam ♦♦ 41●94●144●283
edited May 27 '11 at 19:01
One way is to use _getParam()
e.g.,
public function indexAction() { $namevar = $this->_getParam('name','guest'); }
The 'name' data may come from
1.GET 2.POST 3.http://127.0.0.1:8080/index/index/name/jang
answered May 27 '11 at 19:05
Once you sign in you will be able to subscribe for any updates here
Answers
Answers and Comments
Markdown Basics
learn more about Markdown
Tweet
Tags:
zend ×43
Asked: May 27 '11 at 18:59
Seen: 432 times
Last updated: May 27 '11 at 19:05
Here you can post your knowledge on anything in a Q&A format. That is, you ask a question and answer the question.
Your posts help you to reinforce your knowledge via easy access! Plus, you make the world better by sharing your knowledge with others.
So, please join us and try to contribute!
What is the naming convention for Zend Controllers? Why is it important?
What is Zend_Controller in Zend?
Where and how to load all Zend library so that I can feel free to create an Zend object?
What is Zend_Controller_Request_Abstract in Zend?
How to forward the request to another action within an action in Zend?
What is the difference between _forward and _redirect utility method in Zend?
What is Zend Framework?
What is the main differentiator of Zend compared to other PHP codes?
What is Zend_Controller_Router_Interface in Zend?
What is Zend_View in Zend?
powered by OSQA