/** * 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); }
/** * 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; }