• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting CI Instance

Hi. I learned from CI self libraries that they're getting an instance of CI with

$this->CI =& get_instance();

So I used it too in my Libraries and now I'm using them in my plugin system. I noticed that each instantiating of CI cause to inherit the whole CI which is a usual thing But I wanted to know is it harmful to getting too much of CI instances and be effective on the system running speed.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.