Without actually testing this, I /think /you should be able to simply instantiate a new Zend_Controller_Request_Http object and then use that:

$request = new Zend_Controller_Request_Http();
$request->getParam('');

Philip G wrote:
I'm building a small little app, itty bitty like 2 pages with a whee
bit of ajax, and I want to use the Zend Framework outside of the MVC
context. Most of this is easy enough except in getting request
paramters.

In MVC, I would say $this->getRequest()->getParam('');
Since $this is no longer an Zend_Controller_Action instance, it
doesn't work anymore.

How would I go about getting requests parameters if I'm not going
through a Controller?

Thanks


--
Jack

Reply via email to