Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $this->language->load('blog_categories');
     $this->language->load('blog_posts');
     $this->language->load('blog_post_comments');
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model($this->model);
     $this->_primary_key = $this->{$this->model}->_primary_keys[0];
     $this->permission($this->module . '_index');
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model($this->model);
     $this->{$this->model}->_table = $this->_table;
     $this->{$this->model}->_primary_key = $this->_primary_key;
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("commerce_orders");
     $this->user = $this->permissions->getUserInformation();
     if (!$this->user) {
         Uri_helper::redirect('users/register');
     }
 }
Esempio n. 5
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('General_model');
     $this->General_model->_table = 'settings';
     $this->General_model->_primary_key = 'key';
     $this->output->enable_profiler(FALSE);
     //        $this->permission();
 }
Esempio n. 6
0
 public function __construct()
 {
     parent::__construct();
     // CHECK THE SUITABLE HOME PAGE
     if ($setting = $this->module->getSettings($this->_module)) {
         if (isset($setting->default_home_page) && $setting->default_home_page != 'home') {
             Uri_helper::redirect($setting->default_home_page);
         }
     }
 }
Esempio n. 7
0
 public function __construct()
 {
     parent::__construct();
     $this->_view_folder = strtolower(str_replace('Controller', '', $this->_controller));
     $this->language->load($this->_module);
     $model_instance = '\\modules\\' . $this->_module . '\\models\\' . $this->_model;
     if (class_exists($model_instance)) {
         $this->model_instance = new $model_instance();
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load('settings');
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load('testimonials');
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("commerce_payment_method");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load('pm_project_details');
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("pm_issue_details");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("clinic_user_profile");
 }
Esempio n. 14
0
 public function __construct()
 {
     parent::__construct();
     $this->language->load('clients');
 }
Esempio n. 15
0
 public function __construct()
 {
     parent::__construct();
     $this->language->load("links");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("classfied_experience");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("commerce_product_detail_options");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("commerce_products_offers");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load('dashboard');
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load('pm_announcements');
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("classfied_categories");
     $this->language->load("classfied_jobs");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load('portfolio_categories');
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load('usergroups');
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("commerce_product_attributes");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("commerce_categories");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("commerce_search");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("classfied_currencies");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("commerce_dashboard");
 }
 public function __construct()
 {
     parent::__construct();
     $this->language->load("pm_priorities");
 }
Esempio n. 30
0
 public function __construct()
 {
     parent::__construct();
 }