コード例 #1
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('url_helper');
     $this->load->spark('oauth2/0.4.0');
     $this->config->load('oauth2');
 }
コード例 #2
0
ファイル: api.php プロジェクト: zhaoshengloveqingqing/Website
 public function __construct()
 {
     parent::__construct();
     $this->load->database();
     $this->load->library('session');
     $this->load->helper('common');
     $this->form_validation->set_error_delimiters('', '');
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper(array('url', 'session', 'login'));
     $this->load->library(array('session', 'mobile_detect'));
     $this->load->spark('oauth2/0.4.0');
     $this->load->model('user_social_app_model');
 }
コード例 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library(array('datatable', 'navigation'));
     $this->load->model(array('config_model', 'gateway_model', 'user_model', 'group_user_model'));
     $this->default_model = array('index' => $this->gateway_model);
     $this->jquery_ui();
     $this->jquery_pinet();
 }
コード例 #5
0
 public function __construct()
 {
     parent::__construct();
     $this->load->database();
     $this->load->model('user_model');
     $this->load->library(array('datatable', 'navigation', 'session'));
     $this->load->model(array('gateway_model', 'device_model', 'group_user_model', 'operation_model', 'blacklist_model', 'user_model', 'group_model'));
     $this->default_model = array('index' => $this->gateway_model, 'ibox_realtime_status' => $this->gateway_model, 'user' => $this->user_model);
     $this->jquery_ui();
     $this->jquery_pinet();
 }
コード例 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->load->database();
     $this->load->model('user_model');
     $this->load->library(array('datatable', 'listview', 'navigation'));
     $this->load->model(array('gateway_model', 'user_model', 'group_user_model', 'config_model', 'operation_model', 'crontab_model', 'syslog_model'));
     $this->default_model = array('index' => $this->user_model, 'ibox_app' => $this->config_model, 'ibox_update' => $this->gateway_model, 'task_scheduler' => $this->crontab_model, 'ibox_activation' => $this->user_model);
     $this->jquery_ui();
     $this->jquery_pinet();
 }
コード例 #7
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('url');
     $this->load->library();
     $this->load->model(array('user_model', 'group_model', 'group_user_model', 'gateway_model'));
     $this->load->library(array('datatable', 'session', 'navigation'));
     $this->default_model = array('index' => $this->user_model);
     $this->init_responsive();
     $this->jquery_ui();
     $this->jquery_pinet();
 }
コード例 #8
0
 public function __construct()
 {
     parent::__construct();
     $this->title = lang('Captive Portal Settings');
     $this->messages = lang('Captive Portal Settings');
     $this->load->library(array('session', 'datatable', 'navigation'));
     $this->load->model(array('user_model', 'firewall_model', 'blacklist_model', 'sns_operation_configuration_model', 'group_user_model', 'portal_page_model'));
     $this->default_model = array('index' => $this->gateway_model, 'walled_garden' => $this->gateway_model, 'blacklist' => $this->blacklist_model);
     $this->jquery_ui();
     $this->jquery_pinet();
     $this->jquery_file_upload();
 }
コード例 #9
0
 public function __construct()
 {
     parent::__construct();
     $this->load->database();
     $this->load->helper('url');
     $this->load->library(array('navigation', 'session'));
     $this->init_responsive();
     $this->jquery_ui();
     $this->jquery_pinet();
     $this->load->model('user_model');
     $this->default_model = $this->user_model;
     $this->load->model('security_subject_model');
 }
コード例 #10
0
    public function __construct()
    {
        parent::__construct();
        $this->load->library(array('report', 'navigation', 'session'));
        $this->load->model(array('gateway_model', 'user_model'));
        $this->init_responsive();
        $this->jquery_ui();
        $this->datepicker();
        $this->highcharts();
        $this->jquery_pinet();
        $js = <<<EOT
var clock; 

function showReport(mode){
    clearTimeout(clock);
    if(mode)
            \$('.form-horizontal').find("input[name=mode]").val(mode);
    clock = setTimeout(function(){
      \$('.form-horizontal').submit();
    }, 300);
}

\$(function(){
    var datepicker = \$('#datepicker').datepicker({
        language: "zh-CN",
        format: "yyyy-mm-dd"
    });
    datepicker.on('changeDate', function(){
        showReport("");
    });

    \$("#month-btn").on("click", function(){
      showReport("month");
    });  

    \$("#week-btn").on("click", function(){
      showReport("week");
    });

    \$("#day-btn").on("click", function(){
      showReport("day");
    });                     
})
EOT;
        $this->initJs($js);
    }
コード例 #11
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library(array('rule_manager'));
 }
コード例 #12
0
ファイル: module.php プロジェクト: zhaoshengloveqingqing/Ci
 public function __construct()
 {
     parent::__construct();
 }
コード例 #13
0
 public function __construct()
 {
     parent::__construct();
     $this->jquery();
 }
コード例 #14
0
 public function __construct()
 {
     parent::__construct();
     $this->load->helper('image');
 }
コード例 #15
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library(array('rule_manager', 'login_token', 'session'));
     $this->load->helper(array('login', 'cookie', 'session'));
 }
コード例 #16
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('user_model');
     $this->default_model = array('index' => $this->user_model);
 }
コード例 #17
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library(array('session'));
     $this->load->model(array('user_model', 'portal_page_model'));
 }