Example #1
0
 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;
     }
 }
Example #2
0
 public function getCacheKey($additional = '')
 {
     if ($key = parent::getCacheKey($additional)) {
         return $key . ($this->shopProductUrlId ?: 0);
     } else {
         return false;
     }
 }
Example #3
0
 public function getCacheKey($additional = '')
 {
     if ($key = parent::getCacheKey($additional)) {
         return $key . ($this->shopCategory ? $this->shopCategory->getKey() : 0);
     } else {
         return false;
     }
 }