Browse Source

cleanup WIP

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
c72d7dc96b
  1. 8
      framework/base/Module.php

8
framework/base/Module.php

@ -38,7 +38,7 @@ abstract class Module extends Component
*/ */
public $preload = array(); public $preload = array();
/** /**
* @var string an ID that uniquely identifies this module among other modules which have the same [[parent]]. * @var string an ID that uniquely identifies this module among other modules which have the same [[module|parent]].
*/ */
public $id; public $id;
/** /**
@ -46,7 +46,7 @@ abstract class Module extends Component
*/ */
public $module; public $module;
/** /**
* @var mixed the layout that should be applied for views within this module. This refers to a view name * @var string|boolean the layout that should be applied for views within this module. This refers to a view name
* relative to [[layoutPath]]. If this is not set, it means the layout value of the [[module|parent module]] * relative to [[layoutPath]]. If this is not set, it means the layout value of the [[module|parent module]]
* will be taken. If this is false, layout will be disabled within this module. * will be taken. If this is false, layout will be disabled within this module.
*/ */
@ -84,11 +84,11 @@ abstract class Module extends Component
*/ */
protected $_basePath; protected $_basePath;
/** /**
* @var string the root directory that contains view files. * @var string the root directory that contains view files for this module
*/ */
protected $_viewPath; protected $_viewPath;
/** /**
* @var string the root directory that contains layout view files. * @var string the root directory that contains layout view files for this module.
*/ */
protected $_layoutPath; protected $_layoutPath;
/** /**

Loading…
Cancel
Save