-- pat <[EMAIL PROTECTED]> wrote
(on Friday, 08 June 2007, 08:12 PM -0500):
> Is there a way to set the uri for the request object? 
> 
> Basically what I want to do is:
> 
>  1. create request object
>  2. set its uri
>  3. inject request object into controller
>  4. dispatch it
>  5. examine it in a plugin's predispatch
> 
> I'm doing this with an eye to automating calls to a series of controller
> actions.

$request = new Zend_Controller_Request_Http($uri);

// OR

$request->setRequestUri($uri);

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to