Zend_Controller_Request_Http has a setPost() method that lets you add
values. Try this:

// Add to existing POST values:
$request->setPost('foo', 'bar');

// Replace existing POST values:
$request->setPost(array('foo' => 'bar'));

--
Hector Virgen


On Fri, Jul 9, 2010 at 8:54 AM, debussy007 <[email protected]> wrote:

>
> Hi,
>
> I would like to add POST values in a routeStartup method.
> public function routeStartup(Zend_Controller_Request_Abstract $request) {
> ... }
>
> I checked the Zend_Controller_Request_Abstract class and I noticed a method
> called 'setParam'.
> The only problem is that I don't know wether this method adds a GET or POST
> value, it isn't specified in the API.
>
> Thank you for any help !
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Adding-POST-vlaues-to-a-request-tp2283237p2283237.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>



--
Hector

Reply via email to