Making theme set and available by setting theme related properties in controller Prior to cakephp 2.0 class UserController extends AppController { var $view = ‘Theme’; //tells controller to use “ThemeView” class instead of the default “View” class var $theme =…