示例#1
0
 public function __construct($id = null)
 {
     $this->product_id = $id;
     parent::__construct('products', $id);
     $pro = new ProductAdditional($id);
     $this->additional = $pro->getAdditional();
     $imgs = new ProductAdditionalImages($id);
     $this->additional_images = $imgs->getAdditionalImages();
 }
示例#2
0
 public function __construct($id = null)
 {
     parent::__construct('users_extensions', $id);
     if (!empty($id)) {
         $this->users_m = new Users();
         $this->users_m->LoadData($id);
         $this->email = $this->users_m->getEmail();
         $this->user_id = $id;
     }
 }
示例#3
0
 public function __construct($id = null)
 {
     $this->idd = $id;
     parent::__construct('last_ordered', $id);
 }
示例#4
0
 public function __construct($id = null)
 {
     $this->idd = $id;
     parent::__construct('messages', $id);
 }
示例#5
0
 public function __construct($id = null)
 {
     $this->id = $id;
     parent::__construct('users', $id);
 }
示例#6
0
 public function __construct($id = null)
 {
     $this->id = $id;
     parent::__construct('shippment_methods', $id);
 }
示例#7
0
 public function __construct($id = null)
 {
     $this->category_id = $id;
     parent::__construct('categories', $id);
 }
示例#8
0
 public function __construct($id = null)
 {
     parent::__construct('users', $id);
 }
示例#9
0
 public function __construct($id = null)
 {
     $this->id = $id;
     parent::__construct('order_details', $id);
 }
示例#10
0
 public function __construct()
 {
     parent::__construct('logo', 1);
 }