Ejemplo n.º 1
0
 public function get_remind($cityid, $html_id)
 {
     APF::get_instance()->benchmark_begin(__CLASS__ . " get_remind ");
     $key = Util_MemCacheKey::get_myanjuke_remind($cityid);
     $memcache = APF_Cache_Factory::get_instance()->get_memcache();
     //        $memcache->delete($key);
     $list = $memcache->get($key);
     if (!$list) {
         $list = parent::get_html_content($cityid, $html_id, $key);
         $memcache->add($key, $list, 0, Util_MemCacheTime::get_myanjuke_remind());
     }
     APF::get_instance()->benchmark_end(__CLASS__ . " get_remind ");
     return $list;
 }