$this->params['controller'] should be able to get the name of the controller
for you :-P
Hope that's what your looking for!

Good luck!


In the name of Life, Liberty, and the pursuit of my sanity.
Siebren Bakker(Aevum Decessus)

On Thu, Jul 10, 2008 at 05:57, babar <[EMAIL PROTECTED]> wrote:

>
> Hi
>    I had converted my application into cakephp 1 to cakephp 1.2, in
> cakephp 1 i can get the controller object and calling function like
> this  calling $this->controller->H2Auth->getPracticeName(), now here
> in cakephp 1.2 when i do this i get the message Undefined property:
> View::$controller [APP\views\layouts\default.thtml], how can i get the
> controler object in my layouts so that i can call functions from there
>  Waiting 4 a good solution
>
> Regards
> Babar
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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