Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter: How can I create a new instance of a library whenever the method is called?
#3

[eluser]mrking[/eluser]
Actually it would be easier if i show the whole snippet of code which i will after I tidy it up.

Btw, whats your view on the query below.

Quote:Firstly, i know that by executing $this->ci->load->library, it will create an object of the class but will subsequent call by the foreach loop in run() create a new object. My thought is no, but someone please verify.


Messages In This Thread
CodeIgniter: How can I create a new instance of a library whenever the method is called? - by El Forum - 10-07-2009, 03:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB