public function getCustomList(SelectQuery $query)
 {
     try {
         return parent::getCustomList($query, Cache::EXPIRES_FOREVER);
     } catch (CachedObjectNotFoundException $e) {
         throw $e;
     } catch (ObjectNotFoundException $e) {
         $this->cacheByQuery($query, Cache::NOT_FOUND);
         throw $e;
     }
 }
Esempio n. 2
0
 public function getCustomList(SelectQuery $query)
 {
     return parent::getCustomList($query, Cache::DO_NOT_CACHE);
 }