Simon Mundy wrote:
> Hi Drew
>
> The new 0.2 release looks like it'll have the request object available
> to put into your view, which will make retrieval of your GET/POST/PATH
> fields much easier (and safer if you've applied a filter to it as well).
>
> In the meantime you may need to store the dispatcher token in your
> view if you wish to retrieve them from there. It will mean you'll have
> to use $token->getControllerName(), $token->getActionName() and
> $token->getParam('xxx') in your view, rather then $request->action,
> $request->controller, etc...

So, how do I access the dispatcher token from the controller script? 
I've poured over the documentation and didn't find a suggestion there. 
I guess I'll have to look through the code.  Any shortcuts?

>
>> Hi all,
>>
>> Is there a solution for determining the controller and action names
>> within a view?  I imagine it's there somewhere but I can't find it.  The
>> only solution I've found is to assign it every time from within the
>> actionAction() method in the controller script.

Reply via email to