コード例 #1
0
ファイル: category.php プロジェクト: igor-vidic/LessonLearned
 public function __construct()
 {
     parent::__construct();
     $this->session->set_userdata('language', 'english');
     $this->data['language'] = $this->data['language'] = 'en';
     $this->load->helper('captcha');
     $this->load->model('page_m');
     $this->load->model('course_m');
     $this->load->model('category_m');
     // $this->load->model('user_m');
     $total_url = $this->uri->uri_string();
     $this->data['lang_url'] = $this->uri->segment(1);
     $this->data['total_url'] = str_replace("/", "--", $total_url);
 }
コード例 #2
0
ファイル: block.php プロジェクト: igor-vidic/LessonLearned
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('captcha');
     $this->data['language'] = $this->data['language'] = 'en';
     $this->load->model('page_m');
     $this->load->model('course_m');
     $this->load->model('category_m');
     $this->load->model('difficulty_m');
     $this->load->model('lesson_m');
     $this->load->model('block_m');
     $total_url = $this->uri->uri_string();
     $this->data['lang_url'] = $this->uri->segment(1);
     $this->data['total_url'] = str_replace("/", "--", $total_url);
 }