display controller or action name

hi, I would like to display controller name in a view. $this->controller doesn’t work. anyone can help me please? tia

In a view $this represents the controller. You should use $this->id.

/Tommy

thanks Tommy, it works :)