30 var $m_oPersonTable = null;
35 var $m_oOrderDetailTable = null;
40 var $m_oOrderHistory = null;
45 var $m_oOrderTracking = null;
50 var $m_oPaymentHistory = null;
55 protected $m_bSetupDone =
false;
65 public function __construct($oCatalogDB = null, $oShippingDB = null)
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;
87 abstract protected function ImportOrders($vBeginDateOrDays = 10, $sEndDate = null, $sStatus = DEFAULT_STATUS);
102 abstract protected function Setup($aSettings = []);
ImportOrders($vBeginDateOrDays=10, $sEndDate=null, $sStatus=DEFAULT_STATUS)
__construct($oCatalogDB=null, $oShippingDB=null)