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; }
private function _oGetMCache() { if (is_null($this->_oMCache)) { $this->_oMCache = Ko_Data_MCAgent::OInstance($this->_sMCacheName); } return $this->_oMCache; }
public function __construct($sModuleName, $sName = '') { parent::__construct($sModuleName); $this->_oMCache = Ko_Data_MCAgent::OInstance($sName); }