예제 #1
0
파일: core.php 프로젝트: buttasg/cowgirlk
 /**
  * Callback function for the Shopgate Plugin API ping action.
  * Override this to append additional information about shop system to the response of the ping action.
  *
  * @return mixed[] An array with additional information.
  */
 public function createShopInfo()
 {
     $shopInfo = array('category_count' => 0, 'item_count' => 0);
     if ($this->config->getEnableGetReviewsCsv()) {
         $shopInfo['review_count'] = 0;
     }
     if ($this->config->getEnableGetMediaCsv()) {
         $shopInfo['media_count'] = array();
     }
     return $shopInfo;
 }