Welcome Guest, Not a member yet? Register   Sign In
Extending CI_Exceptions
#1

(This post was last modified: 11-24-2016, 11:11 AM by Auk.)

Hello,
I'm trying to extend CI_Exceptions but I can't access the load method in my sub class.
I tried :
PHP Code:
class MY_Exceptions extends CI_Exceptions {

    protected $CI;

 
   public function __construct()
 
   {
 
       parent::__construct();
 
       $this->CI =& get_instance();
 
       $this->CI->load->library('SOMELIBRARY');
 
   
Thanks in advance,
Reply


Messages In This Thread
Extending CI_Exceptions - by Auk - 11-24-2016, 10:53 AM
RE: Extending CI_Exceptions - by ciadmin - 11-24-2016, 10:58 AM
RE: Extending CI_Exceptions - by Auk - 11-24-2016, 11:03 AM
RE: Extending CI_Exceptions - by ciadmin - 11-24-2016, 12:02 PM
RE: Extending CI_Exceptions - by Auk - 11-24-2016, 02:08 PM
RE: Extending CI_Exceptions - by Auk - 11-26-2016, 09:04 AM
RE: Extending CI_Exceptions - by InsiteFX - 11-26-2016, 11:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB