From 0b294c6fd1b69fdd205cbfccf94f32c2c7395beb Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Sun, 16 Jun 2013 10:28:34 +0200 Subject: [PATCH] added missing view property to PageCache fixes #544 --- framework/yii/web/PageCache.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/framework/yii/web/PageCache.php b/framework/yii/web/PageCache.php index 8b28e62..5f97338 100644 --- a/framework/yii/web/PageCache.php +++ b/framework/yii/web/PageCache.php @@ -66,6 +66,11 @@ class PageCache extends ActionFilter * the fragment cache according to specific setting (e.g. enable fragment cache only for GET requests). */ public $enabled = true; + /** + * @var View the view component to use for caching. If not set, the default application view component + * [[Application::view]] will be used. + */ + public $view; public function init()