Example #1
0
 public function getCacheKey($additional = '')
 {
     if ($key = parent::getCacheKey($additional)) {
         return $key . implode('', $this->getCategoryIds()) . $this->getNewsCategoryUrlPattern() . $this->getPerPage() . $this->getPage() . $this->getIgnorePage();
     } else {
         return false;
     }
 }
Example #2
0
 public function getCacheKey($additional = '')
 {
     if ($key = parent::getCacheKey($additional)) {
         return $key . ($this->newsUrlId ?: 0);
     } else {
         return false;
     }
 }
Example #3
0
 public function getCacheKey($additional = '')
 {
     if ($key = parent::getCacheKey($additional)) {
         return $key . ($this->newsCategory ? $this->newsCategory->getKey() : 0);
     } else {
         return false;
     }
 }