Hi All,
$request = Zend_Controller_Front::getInstance()->getRequest();
print_r($request);
in the bootstrap index.php prints nothing. I've tried everyway I can think
of to getModuleName() from the bootstrap with no luck. I also tried $request
= new Zend_Controller_Request_Http(); $request->getM
Hi All,
I've added a route ($router->addRoute) and want to set the default value of
a variable as the current module name. I can't seem to get the current
module name though.
Thanks,
Jess
Waigani wrote:
>
> Hi All,
>
>
> $request = Zend_Controller_Front::getInstance()->getRequest();
> prin
-- Waigani <[EMAIL PROTECTED]> wrote
(on Thursday, 27 September 2007, 04:10 PM -0700):
> $request = Zend_Controller_Front::getInstance()->getRequest();
> print_r($request);
>
> in the bootstrap index.php prints nothing.
Because it's not yet instantiated.
$front->dispatch() creates a request ob
Dear Matthew,
Thank you very much for the clear explanation. So if I want to add the
current module as a default variable of a route ($router->addRoute), should
I do this in a plugin?
Thanks,
Matthew Weier O'Phinney-3 wrote:
>
> -- Waigani <[EMAIL PROTECTED]> wrote
> (on Thursday, 27 Septem
@lists.zend.com
Betreff: Re: [fw-general] getRequest
Dear Matthew,
Thank you very much for the clear explanation. So if I want to add the
current module as a default variable of a route ($router->addRoute), should
I do this in a plugin?
Thanks,
Matthew Weier O'Phinney-3 wrote:
>
> -- W
Hi all,
I need external brains for this one ;)
I've got an ajax client-side, zf server-side application.
Given this path:
http://vm7/admin/location/deactivate/name/Store%20#2
->getUserParam('name')
returns "Store "
The # and everything following has been truncated.
Insight?
TIA,
Mike
The hash sign is a special character in URLs, indicating an anchor on
the page. So the # must be encoded to %23.
http://vm7/admin/location/deactivate/name/Store%20%232
Konr
On Wed, Oct 12, 2011 at 2:25 PM, Mike Wright wrote:
> Hi all,
>
> I need external brains for this one ;)
>
> I've got an a