$this->action is the name of the action, and by default, this is the
same as the view one

On 3 juin, 12:45, MarcS <[EMAIL PROTECTED]> wrote:
> thanks Tarique,
>
> I knew about being able to get the controller name. I was hoping there
> would be something similar for the view name
>
> On Jun 3, 11:30 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
>
> > On Tue, Jun 3, 2008 at 3:53 PM, MarcS <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > Is it possible to get the name of the view that is currently being
> > > rendered from inside the layout?
>
> > You can get the name of the controller and action - but thats it - name of
> > the view is not there at least by default
>
> > HTH
>
> > Tarique
>
> > --
> > =============================================================
> > Cheesecake-Photoblog:http://cheesecake-photoblog.org
> > PHP for E-Biz:http://sanisoft.com
> > =============================================================
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to