$request->getAttribute('matched_routes', 'org.agavi.routing');

should help.


On 04.03.2009, at 09:13, Michal Charemza wrote:

Hi,

I would like the class of menu elements to depend on the route /
action. I.e. I would like the current item to have a "current" class
to be able to style it differently in CSS. I'm not sure how to do
it... I've had a look at the Sample App Menu, but I don't think it
does that.

Any suggestions?

Michal.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to