[pLog-svn] r1745 - plog/branches/plog-1.1-ben/class/dao
ork at devel.plogworld.net
ork at devel.plogworld.net
Tue Apr 5 18:49:22 GMT 2005
Author: ork
Date: 2005-04-05 18:49:21 +0000 (Tue, 05 Apr 2005)
New Revision: 1745
Modified:
plog/branches/plog-1.1-ben/class/dao/model.class.php
Log:
changed model again
Modified: plog/branches/plog-1.1-ben/class/dao/model.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/dao/model.class.php 2005-04-05 18:37:16 UTC (rev 1744)
+++ plog/branches/plog-1.1-ben/class/dao/model.class.php 2005-04-05 18:49:21 UTC (rev 1745)
@@ -62,6 +62,7 @@
var $_db;
var $_prefix = null;
+ var $_cache;
var $_dbInitialized = false;
/**
@@ -69,7 +70,10 @@
*/
function Model()
{
+ include_once( PLOG_CLASS_PATH . "class/cache/cachemanager.class.php" );
$this->Object();
+ // allow a cache for all dao objects
+ $this->_cache =& CacheManager::getCache();
}
/**
More information about the pLog-svn
mailing list