Пример #1
0
 /**
  * Return products list
  *
  * @param \XLite\Core\CommonCell $cnd       Search condition
  * @param boolean                $countOnly Return items list or only its size OPTIONAL
  *
  * @return array|void
  */
 protected function getData(\XLite\Core\CommonCell $cnd, $countOnly = false)
 {
     if (!isset($cnd)) {
         $cnd = new \XLite\Core\CommonCell();
     }
     $cnd->filter = $this->getParam(self::PARAM_FILTER);
     return parent::getData($cnd, $countOnly);
 }