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; } }
public function getCacheKey($additional = '') { if ($key = parent::getCacheKey($additional)) { return $key . ($this->newsUrlId ?: 0); } else { return false; } }
public function getCacheKey($additional = '') { if ($key = parent::getCacheKey($additional)) { return $key . ($this->newsCategory ? $this->newsCategory->getKey() : 0); } else { return false; } }