Class Mage_Customer_Model_Convert_Adapter_Customer

Description

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@magentocommerce.com so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Located in /Customer/Model/Convert/Adapter/Customer.php (line 28)

Mage_Dataflow_Model_Convert_Container_Abstract
   |
   --Mage_Dataflow_Model_Convert_Adapter_Abstract
      |
      --Mage_Eav_Model_Convert_Adapter_Entity
         |
         --Mage_Customer_Model_Convert_Adapter_Customer
Class Constant Summary
MULTI_DELIMITER = ' , '
Variable Summary
Method Summary
Mage_Customer_Model_Convert_Adapter_Customer __construct ()
void getCustomer ()
array getCustomerGoups ()
void getCustomerId ()
int getRegionId (string $country,  $regionName, string $region)
Mage_Core_Model_Website getWebsiteByCode ( $websiteCode, int $websiteId)
void load ()
void parse ()
void save ()
void saveRow ( $importData)
void saveRow__OLD ()
Variables
mixed $_address = null (line 72)
  • access: protected
mixed $_addressFields = array() (line 66)
  • access: protected
mixed $_attributes = array() (line 40)
  • access: protected
mixed $_billingAddressModel (line 43)
  • access: protected
mixed $_billingFields = array() (line 50)
  • access: protected
mixed $_billingMappedFields = array() (line 52)
  • access: protected
mixed $_billingRequiredFields = array() (line 56)
  • access: protected
mixed $_billingStreetFields = array() (line 54)
  • access: protected
mixed $_customer = null (line 71)
  • access: protected
mixed $_customerGroups (line 41)
  • access: protected
mixed $_customerId = '' (line 74)
  • access: protected
Mage_Customer_Model_Customer $_customerModel (line 38)

Customer model

  • access: protected
mixed $_ignoreFields = array() (line 48)
  • access: protected
mixed $_regions (line 68)
  • access: protected
mixed $_requiredFields = array() (line 46)
  • access: protected
mixed $_shippingAddressModel (line 44)
  • access: protected
mixed $_shippingFields = array() (line 58)
  • access: protected
mixed $_shippingMappedFields = array() (line 60)
  • access: protected
mixed $_shippingRequiredFields = array() (line 64)
  • access: protected
mixed $_shippingStreetFields = array() (line 62)
  • access: protected
mixed $_stores (line 39)
  • access: protected
mixed $_websites (line 69)
  • access: protected

Inherited Variables

Inherited from Mage_Eav_Model_Convert_Adapter_Entity

Mage_Eav_Model_Convert_Adapter_Entity::$_attrToDb
Mage_Eav_Model_Convert_Adapter_Entity::$_filter
Mage_Eav_Model_Convert_Adapter_Entity::$_joinAttr
Mage_Eav_Model_Convert_Adapter_Entity::$_joinField
Mage_Eav_Model_Convert_Adapter_Entity::$_joinFilter
Mage_Eav_Model_Convert_Adapter_Entity::$_store

Inherited from Mage_Dataflow_Model_Convert_Adapter_Abstract

Mage_Dataflow_Model_Convert_Adapter_Abstract::$_resource

Inherited from Mage_Dataflow_Model_Convert_Container_Abstract

Mage_Dataflow_Model_Convert_Container_Abstract::$_action
Mage_Dataflow_Model_Convert_Container_Abstract::$_batchParams
Mage_Dataflow_Model_Convert_Container_Abstract::$_data
Mage_Dataflow_Model_Convert_Container_Abstract::$_position
Mage_Dataflow_Model_Convert_Container_Abstract::$_profile
Mage_Dataflow_Model_Convert_Container_Abstract::$_vars
Methods
Constructor __construct (line 225)
  • access: public
Mage_Customer_Model_Convert_Adapter_Customer __construct ()
getAttribute (line 158)

Retrieve eav entity attribute model

  • access: public
Mage_Eav_Model_Entity_Attribute getAttribute (string $code)
  • string $code
getBillingAddressModel (line 95)

Retrieve customer address model cache

  • access: public
Mage_Customer_Model_Address getBillingAddressModel ()
getCustomer (line 356)
  • access: public
void getCustomer ()
getCustomerGoups (line 220)

Alias at getCustomerGroups()

  • access: public
array getCustomerGoups ()
getCustomerGroups (line 201)

Retrieve customer group collection array

  • access: public
array getCustomerGroups ()
getCustomerId (line 716)
  • access: public
void getCustomerId ()
getCustomerModel (line 81)

Retrieve customer model cache

  • access: public
Mage_Customer_Model_Customer getCustomerModel ()
getRegionId (line 173)

Retrieve region id by country code and region name (if exists)

  • access: public
int getRegionId (string $country,  $regionName, string $region)
  • string $country
  • string $region
  • $regionName
getShippingAddressModel (line 109)

Retrieve customer address model cache

  • access: public
Mage_Customer_Model_Address getShippingAddressModel ()
getStoreByCode (line 124)

Retrieve store object by code

  • access: public
Mage_Core_Model_Store getStoreByCode (string $store)
  • string $store
getWebsiteByCode (line 141)

Retrieve website model by code

  • access: public
Mage_Core_Model_Website getWebsiteByCode ( $websiteCode, int $websiteId)
  • int $websiteId
  • $websiteCode
load (line 271)
  • access: public
void load ()

Redefinition of:
Mage_Eav_Model_Convert_Adapter_Entity::load()
parse (line 334)

Not use :(

  • access: public
void parse ()
save (line 361)
  • access: public
void save ()

Redefinition of:
Mage_Eav_Model_Convert_Adapter_Entity::save()
saveRow (line 418)
  • access: public
void saveRow ( $importData)
  • $importData
saveRow__OLD (line 723)
  • access: public
void saveRow__OLD ()
setCustomer (line 350)
  • access: public
void setCustomer (Mage_Customer_Model_Customer $customer)

Inherited Methods

Inherited From Mage_Eav_Model_Convert_Adapter_Entity

Mage_Eav_Model_Convert_Adapter_Entity::getFieldValue()
Mage_Eav_Model_Convert_Adapter_Entity::getFilter()
Mage_Eav_Model_Convert_Adapter_Entity::getStoreId()
Mage_Eav_Model_Convert_Adapter_Entity::load()
Mage_Eav_Model_Convert_Adapter_Entity::save()
Mage_Eav_Model_Convert_Adapter_Entity::setFilter()
Mage_Eav_Model_Convert_Adapter_Entity::setJoinAttr()
Mage_Eav_Model_Convert_Adapter_Entity::setJoinField()
Mage_Eav_Model_Convert_Adapter_Entity::_getCollectionForLoad()
Mage_Eav_Model_Convert_Adapter_Entity::_parseVars()

Inherited From Mage_Dataflow_Model_Convert_Adapter_Abstract

Mage_Dataflow_Model_Convert_Adapter_Abstract::getNumber()
Mage_Dataflow_Model_Convert_Adapter_Abstract::getResource()
Mage_Dataflow_Model_Convert_Adapter_Abstract::setResource()

Inherited From Mage_Dataflow_Model_Convert_Container_Abstract

Mage_Dataflow_Model_Convert_Container_Abstract::addException()
Mage_Dataflow_Model_Convert_Container_Abstract::getAction()
Mage_Dataflow_Model_Convert_Container_Abstract::getBatchParams()
Mage_Dataflow_Model_Convert_Container_Abstract::getData()
Mage_Dataflow_Model_Convert_Container_Abstract::getGridFields()
Mage_Dataflow_Model_Convert_Container_Abstract::getPosition()
Mage_Dataflow_Model_Convert_Container_Abstract::getProfile()
Mage_Dataflow_Model_Convert_Container_Abstract::getVar()
Mage_Dataflow_Model_Convert_Container_Abstract::getVars()
Mage_Dataflow_Model_Convert_Container_Abstract::setAction()
Mage_Dataflow_Model_Convert_Container_Abstract::setBatchParams()
Mage_Dataflow_Model_Convert_Container_Abstract::setData()
Mage_Dataflow_Model_Convert_Container_Abstract::setPosition()
Mage_Dataflow_Model_Convert_Container_Abstract::setProfile()
Mage_Dataflow_Model_Convert_Container_Abstract::setVar()
Mage_Dataflow_Model_Convert_Container_Abstract::validateDataArray()
Mage_Dataflow_Model_Convert_Container_Abstract::validateDataGrid()
Mage_Dataflow_Model_Convert_Container_Abstract::validateDataString()
Class Constants
MULTI_DELIMITER = ' , ' (line 31)

Documentation generated on Fri, 11 Feb 2011 17:00:14 +0200 by phpDocumentor 1.4.3