Do you want to use $this->name and $this->action>
On Aug 21, 2:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > This method returns me a name of the current controller and its > action. So in my view in title tag i have for example value like this > <title>Photos:show</title> > > I don't know if something like this exists in Cake PHP ? > > On Aug 21, 10:02 pm, LS <[EMAIL PROTECTED]> wrote: > > > Don't you mean <?php echo($title_for_layout); ?> ? > > > On 21 ago, 15:51, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > Hello > > > > In Ruby on Rails in my layout i write something like this: > > > <title>Photos: <%= controller.action_name %> </title> > > > > Any ideas how to do this in CakePHP ? > > > > I try do search this in the Api but i cant find something > > > > Stachu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
