Browse Source

Merge pull request #976 from iJackUA/patch-1

View. Default empty array value for $params
tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
21342c6dce
  1. 2
      framework/yii/base/View.php

2
framework/yii/base/View.php

@ -96,7 +96,7 @@ class View extends Component
/** /**
* @var mixed custom parameters that are shared among view templates. * @var mixed custom parameters that are shared among view templates.
*/ */
public $params; public $params = array();
/** /**
* @var array a list of available renderers indexed by their corresponding supported file extensions. * @var array a list of available renderers indexed by their corresponding supported file extensions.
* Each renderer may be a view renderer object or the configuration for creating the renderer object. * Each renderer may be a view renderer object or the configuration for creating the renderer object.

Loading…
Cancel
Save