+ baseModel: add cache variable.
This commit is contained in:
@@ -123,6 +123,15 @@ class baseModel
|
||||
*/
|
||||
public $global;
|
||||
|
||||
/**
|
||||
* $cache对象,用于访问缓存。
|
||||
* The $cache object, used to access the cache.
|
||||
*
|
||||
* @var object
|
||||
* @access public
|
||||
*/
|
||||
public $cache;
|
||||
|
||||
/**
|
||||
* 构造方法。
|
||||
* 1. 将全局变量设为model类的成员变量,方便model的派生类调用;
|
||||
|
||||
Reference in New Issue
Block a user