$this->name in view.
On Jun 29, 7:20 pm, jyrgen <[EMAIL PROTECTED]> wrote:
> howdy,
>
> my menu highlighting mechanism is based on evaluation of
>
> $this->controller->name
> $this->controller->action
>
> how can i test for the current view file that has been
> rendered, since it doesn't have to match the controller action name,
> which set via $this->render("myview");
>
> in other words: how can i distiguish between different views
> rendered in a single action.
>
> i pr'd $this->controller and $this->View, but the view rendered didn't
> show up.
>
> thanks, jyrgen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---