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(); }
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; } }
public function __construct($id = null) { $this->idd = $id; parent::__construct('last_ordered', $id); }
public function __construct($id = null) { $this->idd = $id; parent::__construct('messages', $id); }
public function __construct($id = null) { $this->id = $id; parent::__construct('users', $id); }
public function __construct($id = null) { $this->id = $id; parent::__construct('shippment_methods', $id); }
public function __construct($id = null) { $this->category_id = $id; parent::__construct('categories', $id); }
public function __construct($id = null) { parent::__construct('users', $id); }
public function __construct($id = null) { $this->id = $id; parent::__construct('order_details', $id); }
public function __construct() { parent::__construct('logo', 1); }