From 56d2423bc342f1e1d7db52181ae80d5fa2056ad1 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 24 Aug 2009 22:57:01 -0400 Subject: [PATCH] Additional documentation. --- cake/libs/view/theme.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cake/libs/view/theme.php b/cake/libs/view/theme.php index ab448003081..ce125f355ec 100644 --- a/cake/libs/view/theme.php +++ b/cake/libs/view/theme.php @@ -22,6 +22,13 @@ /** * Theme view class * + * Allows the creation of multiple themes to be used in an app. Theme views are regular view files + * that can provide unique HTML and static assets. If theme views are not found for the current view + * the default app view files will be used. You can set `$this->theme` and `$this->view = 'Theme'` + * in your Controller to use the ThemeView. + * + * Example of theme path with `$this->theme = 'super_hot';` Would be `app/views/themed/super_hot/posts` + * * @package cake * @subpackage cake.cake.libs.view */