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...
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.
--
Drew
--
Simon Mundy | Director | PEPTOLAB
""" " "" """""" "" "" """"""" " "" """"" " """"" " """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
4124
http://www.peptolab.com