Using multiple libraries together?

#1
[eluser]diggersworld[/eluser]
Hello,

I have two libraries which I need to get to work together.

The first one EWPServices.php I can get to run fine. I load and use it in a controller using the following code.

$this->load->library('EWPServices');
$this->ewpservices->function();

Now here's where I'm stuck. Within the EWPServices function I call it needs to use a different library's function (PPCrypto.php). I've loaded the library in the controller along with EWPServices, but when I use $this->ppcrypto->function(); from within the EWPServices library I get a call to member function on non-object error.

It's probably something really simple, so if anyone could point it out, I would greatly appreciate it.

Cheers,
Thomas.


Messages In This Thread
Using multiple libraries together? - by El Forum - 06-17-2010, 04:39 AM
Using multiple libraries together? - by El Forum - 06-17-2010, 04:45 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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