I have a custom content element which uses a view-helper that inherits from link action. I want to use specific CSS when this link is "active". One way to do this would be to read _GET and check for link variables. Can I access _GET in a sane way from a view-helper? Or is there a better way?
Maybe this is impossible because the output of the view-helper will be cached...
I could of course access $_GET directly, but will this work with RealUrl?
Of course you can, the same way as you would do it within controller: