Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('user_model', 'mUser');
     if (!($this->user = $this->mUser->getUser($this->uid))) {
         $this->mUser->register($this->uid);
     }
     $this->head['title'] = "DooneeTV";
 }
Example #2
0
 public function __construct()
 {
     header("Content-type: Application/json; Charset:utf8;");
     parent::__construct();
     $this->load->config('samsung');
     $this->load->model('payment_model', 'mPayment');
     $this->load->model('package_model', 'mPackage');
     $this->load->model('user_model', 'mUser');
     $this->load->model('redeem_model', 'mRedeem');
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     header("Content-type: Application/json; Charset:utf8;");
     $this->load->config('samsung');
     $this->load->model('samsung/movie_model', 'mMovie');
     $this->load->model('user_model', 'mUser');
     $this->load->model('package_model', 'mPackage');
     $this->user = $this->mUser->getUser($this->uid);
 }