-- Marek Wawro <[EMAIL PROTECTED]> wrote
(on Sunday, 13 April 2008, 01:46 AM +0100):
> Is there any way how to use params from url in boot strap file?

No, not unless you first ask the router to route the request. URL params
are set by the router during routing, which typically happens when you
dispatch the front controller ($front->dispatch()). You can trigger
manually using:

    $router->route($front->getRequest());

but I don't recommend this.

<snip>

> Is there anyway to get that values before action controllers will be called

You can access the values via the request object from a plugin's
routeShutdown() and dispatchLoopStartup() plugin hooks, which trigger
before any action controllers are dispatched.

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

Reply via email to