public function __construct() { $this->CI =& get_instance(); } public any_other_function(){ $this->CI->load->database(); }