/** * 构造函数 * @access public * @return void */ public function __construct() { parent::__construct(); if (!$this->session->this_user) { redirect(site_url('sign/signin')); } }
function __construct() { parent::__construct(true, 'a'); $this->relates = array(); $this->is_lightbox = true; $this->plusId = ''; }
/** * 构造函数 * @access public * @return void */ public function __construct() { parent::__construct(); $captcha_cfg['useImgBg'] = TRUE; $captcha_cfg['useNoise'] = FALSE; $captcha_cfg['useCurve'] = FALSE; $captcha_cfg['useZh'] = FALSE; $captcha_cfg['fontSize'] = 16; $captcha_cfg['length'] = 4; $captcha_cfg['imageL'] = 120; $this->load->library('captcha', $captcha_cfg); $this->load->model('mdl_member'); }
function __construct() { parent::__construct(true, 'a'); $this->load->library('pagination'); }
/** * 构造函数 * * @access public * @return void */ public function __construct() { parent::__construct(); $this->this_view_data['_js'][] = 'slider'; }
/** * 构造函数 * @access public * @return void */ public function __construct() { parent::__construct(); $this->load->model('Mdl_member'); }
function __construct() { parent::__construct(true, 'a'); $this->relates = array(); }