Tutorial Extension  1.0.0
SellerDeck Extensions - Tutorial Extension
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
CImport Class Reference

Public Member Functions

 __construct ($oCatalogDB=null, $oShippingDB=null)
 

Public Attributes

 $m_oCatalogDB
 
 $m_oShippingDB
 
 $m_oPersonTable = null
 
 $m_oOrderDetailTable = null
 
 $m_oOrderHistory = null
 
 $m_oOrderTracking = null
 
 $m_oPaymentHistory = null
 

Protected Member Functions

 ImportOrders ($vBeginDateOrDays=10, $sEndDate=null, $sStatus=DEFAULT_STATUS)
 
 UpdateOrders ()
 
 Setup ($aSettings=[])
 

Protected Attributes

 $m_bSetupDone = false
 

Detailed Description

Definition at line 14 of file CImport.php.

Constructor & Destructor Documentation

__construct (   $oCatalogDB = null,
  $oShippingDB = null 
)

__construct - Object constructor

public

Parameters
object$oCatalogDBCatalog DB
object$oShippingDBShipping DB
Returns
void

Definition at line 65 of file CImport.php.

66  {
67  $this->m_oCatalogDB = $oCatalogDB;
68  $this->m_oShippingDB = $oShippingDB;
69  $this->m_oPersonTable = new \SDExtension\DB\Table\CPerson($oCatalogDB);
70  $this->m_oOrderTable = new \SDExtension\DB\Table\COrder($oCatalogDB);
71  $this->m_oOrderDetailTable = new \SDExtension\DB\Table\COrderDetail($oCatalogDB);
72  $this->m_oPaymentHistory = new \SDExtension\DB\Table\CPaymentHistory($oCatalogDB);
73  $this->m_oOrderHistory = new \SDExtension\DB\Table\COrderHistory($oCatalogDB);
74  $this->m_oOrderTracking = new \SDExtension\DB\Table\COrderTracking($oCatalogDB);
75  $this->m_bSetupDone = false;
76  }

Member Function Documentation

ImportOrders (   $vBeginDateOrDays = 10,
  $sEndDate = null,
  $sStatus = DEFAULT_STATUS 
)
abstractprotected

ImportOrders - Object constructor

protected

Parameters
string | int$vBeginDateOrDaysBegin Date or Number of Days
string$sEndDateEnd Date
string$sStatusStatus
Returns
void
Setup (   $aSettings = [])
abstractprotected

Setup - Setup

protected

Parameters
array$aSettingsSettings
UpdateOrders ( )
abstractprotected

UpdateOrders - Update Orders

protected


The documentation for this class was generated from the following file: