cake
Retrieve the Name of a Controller and Action Being Called In A Cake View
February 13th, 2008 - cake php - Read Full Article
There are times when you may want your layout in Cake to perform slightly differently when you are viewing pages that call a certain controller or even a specific action in that controller. This is common if you have javascript that you only want to include on a single page of your application or maybe render an element only at certain times.
The following variables can be called from... continue