예제 #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);
 }