Class Mage_GoogleBase_Model_Service_Feed

Description

Google Base Feed Model

Located in /GoogleBase/Model/Service/Feed.php (line 34)

Varien_Object
   |
   --Mage_GoogleBase_Model_Service
      |
      --Mage_GoogleBase_Model_Service_Feed
Class Constant Summary
ITEMS_LOCATION = 'http://www.google.com/base/feeds/items'
ITEM_TYPES_LOCATION = 'http://www.google.com/base/feeds/itemtypes'
Method Summary
array getAttributes (string $type, string $targetCountry)
Zend_Gdata_Feed getFeed ([string $location = null], [int $storeId = null])
array getItemStats (string $id, [int $storeId = null])
array getItemTypes (string $targetCountry)
array _getEntryStats (Zend_Gdata_Gbase_ItemEntry $entry)
Variables
Methods
getAttributes (line 148)

Returns Google Base Attributes

  • access: public
array getAttributes (string $type, string $targetCountry)
  • string $type: Google Base Item Type
  • string $targetCountry: Two-letters country ISO code
getFeed (line 46)

Google Base Feed Instance

  • access: public
Zend_Gdata_Feed getFeed ([string $location = null], [int $storeId = null])
  • string $location
  • int $storeId: Store Id
getItemStats (line 61)

Retrieve Items Statistics

  • access: public
array getItemStats (string $id, [int $storeId = null])
  • string $id: Google Base item ID (e.g. http://www.google.com/base/feeds/items/3613244304072139222 or 3613244304072139222)
  • int $storeId: Store Id
getItemTypes (line 104)

Returns Google Base recommended Item Types

  • access: public
array getItemTypes (string $targetCountry)
  • string $targetCountry: Two-letters country ISO code
_getEntryStats (line 80)

Return item stats array based on Zend Gdata Entry object

  • access: protected
array _getEntryStats (Zend_Gdata_Gbase_ItemEntry $entry)
  • Zend_Gdata_Gbase_ItemEntry $entry

Inherited Methods

Inherited From Mage_GoogleBase_Model_Service

Mage_GoogleBase_Model_Service::getClient()
Mage_GoogleBase_Model_Service::getConfig()
Mage_GoogleBase_Model_Service::getDryRun()
Mage_GoogleBase_Model_Service::getGuestService()
Mage_GoogleBase_Model_Service::getService()
Mage_GoogleBase_Model_Service::_connect()
Class Constants
ITEMS_LOCATION = 'http://www.google.com/base/feeds/items' (line 37)
ITEM_TYPES_LOCATION = 'http://www.google.com/base/feeds/itemtypes' (line 36)

Documentation generated on Fri, 11 Feb 2011 17:02:26 +0200 by phpDocumentor 1.4.3