Welcome Guest, Not a member yet? Register   Sign In
Multiple Classes inside a library
#4

[eluser]Rolly1971[/eluser]
which ever lib needs to load first, put your load->library call in the __construct() function. And if the libraries need access to CI classes then you put the private $ci; in it. as well i find it good practice to ensure each class has a __construct() function.


Messages In This Thread
Multiple Classes inside a library - by El Forum - 10-04-2012, 07:56 AM
Multiple Classes inside a library - by El Forum - 10-04-2012, 08:03 AM
Multiple Classes inside a library - by El Forum - 10-04-2012, 08:16 AM
Multiple Classes inside a library - by El Forum - 10-04-2012, 08:23 AM
Multiple Classes inside a library - by El Forum - 10-04-2012, 08:54 AM
Multiple Classes inside a library - by El Forum - 10-04-2012, 03:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB