public function getCacheKey($additional = '') { if ($key = parent::getCacheKey($additional)) { return $key . implode('', $this->getCategoryIds()) . $this->getPerPage() . $this->getPage() . $this->getOrderBy() . $this->getIgnorePage(); } else { return false; } }
public function getCacheKey($additional = '') { if ($key = parent::getCacheKey($additional)) { return $key . ($this->shopProductUrlId ?: 0); } else { return false; } }
public function getCacheKey($additional = '') { if ($key = parent::getCacheKey($additional)) { return $key . ($this->shopCategory ? $this->shopCategory->getKey() : 0); } else { return false; } }