Browse Source

added missing view property to PageCache

fixes #544
tags/2.0.0-beta
Carsten Brandt 12 years ago
parent
commit
0b294c6fd1
  1. 5
      framework/yii/web/PageCache.php

5
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). * the fragment cache according to specific setting (e.g. enable fragment cache only for GET requests).
*/ */
public $enabled = true; 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() public function init()

Loading…
Cancel
Save