Class Mage_GoogleBase_Model_Config

Description

Google Base Config model

Located in /GoogleBase/Model/Config.php (line 34)

Varien_Object
   |
   --Mage_GoogleBase_Model_Config
Method Summary
string getAccountLogin ([int $storeId = null])
string getAccountPassword ([int $storeId = null])
string getAccountType ([int $storeId = null])
array getAllowedCountries ([int $storeId = null])
mixed getConfigData (string $key, [int $storeId = null])
array|string getCountryInfo (string $iso, [string $field = null], [int $storeId = null])
string getDefaultItemType ([int $storeId = null])
string getTargetCountry ([int $storeId = null])
array getTargetCountryInfo ([int $storeId = null])
string getTargetCurrency ([int $storeId = null])
boolean isValidBaseCurrencyCode ([int $storeId = null])
Methods
getAccountLogin (line 58)

Google Account login

  • access: public
string getAccountLogin ([int $storeId = null])
  • int $storeId
getAccountPassword (line 69)

Google Account password

  • access: public
string getAccountPassword ([int $storeId = null])
  • int $storeId
getAccountType (line 80)

Google Account type

  • access: public
string getAccountType ([int $storeId = null])
  • int $storeId
getAllowedCountries (line 148)

Google Base supported countries

  • access: public
array getAllowedCountries ([int $storeId = null])
  • int $storeId
getConfigData (line 43)

Return config var

  • access: public
mixed getConfigData (string $key, [int $storeId = null])
  • string $key: Var path key
  • int $storeId: Store View Id
getCountryInfo (line 161)

Country info such as name, locale, language etc.

  • access: public
array|string getCountryInfo (string $iso, [string $field = null], [int $storeId = null])
  • string $iso: two-letters country ISO code
  • string $field: If specified, return value for field
  • int $storeId
getDefaultItemType (line 136)

Default Item Type for country

  • access: public
string getDefaultItemType ([int $storeId = null])
  • int $storeId
getTargetCountry (line 102)

Google Account target country

  • return: Two-letters country ISO code
  • access: public
string getTargetCountry ([int $storeId = null])
  • int $storeId
getTargetCountryInfo (line 91)

Google Account target country info

  • access: public
array getTargetCountryInfo ([int $storeId = null])
  • int $storeId
getTargetCurrency (line 113)

Google Account target currency (for target country)

  • return: Three-letters currency ISO code
  • access: public
string getTargetCurrency ([int $storeId = null])
  • int $storeId
isValidBaseCurrencyCode (line 125)

Check whether System Base currency equals Google Base target currency or not

  • access: public
boolean isValidBaseCurrencyCode ([int $storeId = null])
  • int $storeId

Documentation generated on Fri, 11 Feb 2011 16:59:16 +0200 by phpDocumentor 1.4.3