Exemple #1
0
 /**
  * Added predefined ids support
  */
 public function getCount()
 {
     $ids = $this->getProductIds();
     if (!empty($ids)) {
         return count($ids);
     }
     return parent::getCount();
 }