CodeIgniter copying an instance - performance issues?
Posted
by fire
on Stack Overflow
See other posts from Stack Overflow
or by fire
Published on 2010-04-20T13:49:08Z
Indexed on
2010/04/20
13:53 UTC
Read the original article
Hit count: 175
codeigniter
|php
I have quite a few libraries and models that get loaded into a controller, and each library/model creates an instance of CI using $this->CI =& get_instance();
in the __construct
function.
Are there any performance issues with this and is there a better way?
© Stack Overflow or respective owner