Example #1
0
 private static function _OCreateDao_mcache($aConfig, $aParam)
 {
     if ($aConfig['global']) {
         $dao = Ko_Data_MCAgent::OInstance(self::_VGetValue($aConfig, 'name'));
     } else {
         $dao = new Ko_Dao_MCacheEx($aParam['module'], self::_VGetValue($aConfig, 'name'));
     }
     return $dao;
 }
Example #2
0
 private function _oGetMCache()
 {
     if (is_null($this->_oMCache)) {
         $this->_oMCache = Ko_Data_MCAgent::OInstance($this->_sMCacheName);
     }
     return $this->_oMCache;
 }
Example #3
0
 public function __construct($sModuleName, $sName = '')
 {
     parent::__construct($sModuleName);
     $this->_oMCache = Ko_Data_MCAgent::OInstance($sName);
 }