public static function getCityDistricts($cityId) { $key = Util_MemCacheKey::getCityDistrictsKey($cityId); $memcache = APF_Cache_Factory::get_instance()->get_memcache(); $info = $memcache->get($key); if ($info === false) { $info = self::data_access()->filter(self::CITY_ID, $cityId)->filter(self::IS_ACTIVED, 1)->sort(self::DISPLAY_ORDER, 'asc')->get_all(); $memcache->set($key, $info, 0, 86400); } return $info; }