_vary_list)){ $this->_vary_list = cachemgr::fetch_vary_list(); } }//End Function /* * 取得数据 * @var string $type * @var string $key * @access public * @return mixed */ public function get_modified($type, $key) { return $this->_vary_list[strtoupper($type)][strtoupper($key)]; }//End Function /* * 设置数据 * @var string $type * @var string $key * @var int $time * @access public * @return boolean */ public function set_modified($type, $key, $time=0) { $now = ($time>0) ? $time : time(); if(is_array($key)){ foreach($key as $k){ $this->_vary_list[strtoupper($type)][strtoupper($k)] = $now; } }else{ $this->_vary_list[strtoupper($type)][strtoupper($key)] = $now; } return true; }//End Function /** * 是否支持同步的自增单号处理 */ public function supportUUID() { return false; } /** * 返回类型值 */ public function getUUIDFix() { return '2'; } }//End Class