public function __construct() { parent::__construct(); // Set the super object to a local variable for use later //$this->CI =& get_instance(); //$this->CI->load->model('tool/report'); }
public function __construct() { parent::__construct(); // Added by Ivan Tcholakov, 24-JAN-2016. $this->parse_exec_vars = ENVIRONMENT !== 'production'; // }
function __construct() { parent::__construct(); $this->final_output = ''; //would be just set to 'null' in CI_Output $this->_ci_ob_level = ob_get_level(); $this->cookies = array(); }
function __construct() { session_start(); parent::__construct(); if (isset($_SESSION['logged_in']) && $_SESSION['logged_in'] == true) { // set $this->is_logged_in == true if you don't want to show the cache or use it to make caches. // either with $_SESSION or any other logic you need to implement. $this->is_logged_in = true; } }
/** * Constructor */ public function __construct() { parent::__construct(); }
function __construct() { parent::__construct(); $this->cleanup(); }
function __construct() { parent::__construct(); $this->final_output = ''; }
function __construct() { parent::__construct(); //Se fuerza que el contenido sea UTF-8 $this->set_content_type('text/html; charset=utf-8'); }
function __construct() { parent::__construct(); $this->_ci_ob_level = ob_get_level(); $this->cookies = array(); }