예제 #1
0
파일: Controller.php 프로젝트: telenok/shop
 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;
     }
 }
예제 #2
0
파일: Controller.php 프로젝트: telenok/shop
 public function getCacheKey($additional = '')
 {
     if ($key = parent::getCacheKey($additional)) {
         return $key . ($this->shopProductUrlId ?: 0);
     } else {
         return false;
     }
 }
예제 #3
0
파일: Controller.php 프로젝트: telenok/shop
 public function getCacheKey($additional = '')
 {
     if ($key = parent::getCacheKey($additional)) {
         return $key . ($this->shopCategory ? $this->shopCategory->getKey() : 0);
     } else {
         return false;
     }
 }