Class connector

Description

Located in /connectors/example.php (line 14)


	
			
Method Summary
void add_customer ($customer_info $productId)
void lower_product_quantity ($productId $productId)
void raise_product_quantity ($productId $productId)
void save_order ($productIds $productIds, $customerId $customerId)
void stock_check ($productId $productId)
Methods
add_customer (line 49)

add_customer add's a customer on the external database.

void add_customer ($customer_info $productId)
  • $customer_info $productId: array Customer information
lower_product_quantity (line 42)

ower_product_quantity loweres the product quantity on the external database.

void lower_product_quantity ($productId $productId)
  • $productId $productId: int Product Id
raise_product_quantity (line 35)

raise_product_quantity raises the product quantity on the external database.

void raise_product_quantity ($productId $productId)
  • $productId $productId: int Product Id
save_order (line 28)

save_order saves the order on the external database.

void save_order ($productIds $productIds, $customerId $customerId)
  • $productIds $productIds: array Product Ids
  • $customerId $customerId: int Customer Id
stock_check (line 20)

stock_check returns the current stock as an integer.

void stock_check ($productId $productId)
  • $productId $productId: int Product Id

Documentation generated on Fri, 17 Jul 2009 16:39:45 +0200 by phpDocumentor 1.4.1