Class Mage_Customer_Model_Customer_Api

Description

Customer api

Located in /Customer/Model/Customer/Api.php (line 34)

Mage_Api_Model_Resource_Abstract
   |
   --Mage_Customer_Model_Api_Resource
      |
      --Mage_Customer_Model_Customer_Api
Direct descendents
Class Description
Mage_Customer_Model_Customer_Api_V2 Customer api V2
Variable Summary
Method Summary
int create (array $customerData)
boolean delete (int $customerId)
array info (int $customerId, [array $attributes = null])
array items (array $filters)
boolean update (int $customerId, array $customerData)
array _prepareData (stdClass $data)
Variables
Methods
create (line 64)

Create new customer

  • access: public
int create (array $customerData)
  • array $customerData
delete (line 188)

Delete customer

  • access: public
boolean delete (int $customerId)
  • int $customerId
info (line 84)

Retrieve customer data

  • access: public
array info (int $customerId, [array $attributes = null])
  • int $customerId
  • array $attributes
items (line 115)

Retrieve cutomers data

  • access: public
array items (array $filters)
  • array $filters

Redefined in descendants as:
update (line 162)

Update customer data

  • access: public
boolean update (int $customerId, array $customerData)
  • int $customerId
  • array $customerData
_prepareData (line 46)

Prepare data to insert/update.

Creating array for stdClass Object

  • access: protected
array _prepareData (stdClass $data)
  • stdClass $data

Redefined in descendants as:

Inherited Methods

Inherited From Mage_Customer_Model_Api_Resource

Mage_Customer_Model_Api_Resource::getAllowedAttributes()
Mage_Customer_Model_Api_Resource::_isAllowedAttribute()

Inherited From Mage_Api_Model_Resource_Abstract

Mage_Api_Model_Resource_Abstract::getResourceConfig()
Mage_Api_Model_Resource_Abstract::setResourceConfig()
Mage_Api_Model_Resource_Abstract::_fault()
Mage_Api_Model_Resource_Abstract::_getConfig()
Mage_Api_Model_Resource_Abstract::_getServer()
Mage_Api_Model_Resource_Abstract::_getSession()

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