Commit 0b294c6f by Carsten Brandt

added missing view property to PageCache

fixes #544
parent d34301a3
...@@ -66,6 +66,11 @@ class PageCache extends ActionFilter ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment