コード例 #1
0
ファイル: V2.php プロジェクト: hazaeluz/magento_connect
 /**
  * Retrieve tag info as object
  *
  * @param int $tagId
  * @param string|int $store
  * @return object
  */
 public function info($tagId, $store)
 {
     $result = parent::info($tagId, $store);
     $result = Mage::helper('api')->wsiArrayPacker($result);
     foreach ($result->products as $key => $value) {
         $result->products[$key] = array('key' => $key, 'value' => $value);
     }
     return $result;
 }