Beispiel #1
0
 /**
  * Retrieve list of tags for specified product as array of objects
  *
  * @param int $productId
  * @param string|int $store
  * @return array
  */
 public function items($productId, $store)
 {
     $result = parent::items($productId, $store);
     foreach ($result as $key => $tag) {
         $result[$key] = Mage::helper('api')->wsiArrayPacker($tag);
     }
     return array_values($result);
 }
Beispiel #2
0
 /**
  * Retrieve list of tags for specified product as array of objects
  *
  * @param int $productId
  * @param string|int $store
  * @return array
  */
 public function items($productId, $store)
 {
     $result = parent::items($productId, $store);
     foreach ($result as $key => $tag) {
         $result[$key] = Mage::helper('Mage_Api_Helper_Data')->wsiArrayPacker($tag);
     }
     return $result;
 }