public function __construct()
 {
     parent::__construct();
     $this->connec_entity_name = 'Product';
     $this->local_entity_name = 'Products';
     $this->connec_resource_name = 'items';
     $this->connec_resource_endpoint = 'items';
 }
 public function __construct()
 {
     parent::__construct();
     $this->connec_entity_name = 'AppUser';
     $this->local_entity_name = 'Users';
     $this->connec_resource_name = 'app_users';
     $this->connec_resource_endpoint = 'app_users';
 }
 public function __construct()
 {
     parent::__construct();
     $this->connec_entity_name = 'Customer';
     $this->local_entity_name = 'Customers';
     $this->connec_resource_name = 'people';
     $this->connec_resource_endpoint = 'people';
 }
 public function __construct()
 {
     parent::__construct();
     $this->connec_entity_name = 'TaxCode';
     $this->local_entity_name = 'TaxRecord';
     $this->connec_resource_name = 'tax_codes';
     $this->connec_resource_endpoint = 'tax_codes';
 }
 public function __construct()
 {
     parent::__construct();
     $this->connec_entity_name = 'Invoice';
     $this->local_entity_name = 'Invoice';
     $this->connec_resource_name = 'invoices';
     $this->connec_resource_endpoint = 'invoices';
 }
 public function __construct()
 {
     parent::__construct();
     $this->connec_entity_name = 'SalesOrder';
     $this->local_entity_name = 'SalesOrders';
     $this->connec_resource_name = 'sales_orders';
     $this->connec_resource_endpoint = 'sales_orders';
 }
 public function __construct()
 {
     parent::__construct();
     $this->connec_entity_name = 'Payment';
     $this->local_entity_name = 'Payments';
     $this->connec_resource_name = 'payments';
     $this->connec_resource_endpoint = 'payments';
     $this->payment_method_mapping_reverse = array('ccsave' => 'CC', 'Cash on delivery (COD)' => 'COD');
 }
 public function __construct()
 {
     parent::__construct();
     $this->connec_entity_name = 'SalesOrder';
     $this->local_entity_name = 'SalesOrders';
     $this->connec_resource_name = 'sales_orders';
     $this->connec_resource_endpoint = 'sales_orders';
     $this->sales_order_status_mapping = array('Awaiting check payment' => 'AUTHORISED', 'Payment accepted' => 'PAID', 'Processing in progress' => 'AUTHORISED', 'Shipped' => 'SHIPPED', 'Delivered' => 'DELIVERED', 'Canceled' => 'Cancelled', 'Refunded' => 'REFUNDED', 'Payment error' => 'SUBMITTED', 'On backorder (paid)' => 'SUBMITTED', 'Awaiting bank wire payment' => 'AUTHORISED', 'Awaiting PayPal payment' => 'AUTHORISED', 'Remote payment accepted' => 'AUTHORISED', 'On backorder (not paid)' => 'AUTHORISED', 'Awaiting Cash On Delivery validation' => 'AUTHORISED');
 }
예제 #9
0
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array('date', 'deldate'));
 }
예제 #10
0
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name);
 }
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array('created', 'updated'));
 }
예제 #12
0
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array(), false, "configkey");
 }
예제 #13
0
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array('created', 'modified', 'lastpingvisitor', 'lastpingagent'));
 }
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array('updated'), false, 'id');
 }
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array("recoverytime"));
 }
예제 #16
0
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array("created"));
 }
예제 #17
0
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array("created", "modified", "lastpingvisitor", "lastpingagent"));
 }
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array("lastvisited"), false, "operatorid");
 }
 public function __construct(DBDriver $db, $model_name)
 {
     parent::__construct($db, $model_name, array("updated"), false, "id");
 }