コード例 #1
0
ファイル: documents.php プロジェクト: unisexx/thaigcd2015
 function __construct()
 {
     parent::__construct();
     if (!is_login()) {
         set_notify('error', 'คุณไม่มีสิทธิเข้าใช้งานในส่วนนี้ค่ะ');
         redirect('home');
     } else {
         if (!is_publish('documents')) {
             set_notify('error', 'คุณไม่มีสิทธิเข้าใช้งานในส่วนนี้ค่ะ');
             redirect('home');
         }
     }
 }
コード例 #2
0
ファイル: publics.php プロジェクト: unisexx/thaigcd2015
 function __construct()
 {
     parent::__construct();
 }
コード例 #3
0
 public function view($quote_id)
 {
     $this->document =& $this->mdl_quotes;
     parent::view_document($quote_id);
 }
コード例 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('mdl_invoices');
 }