Welcome Guest, Not a member yet? Register   Sign In
using libraries in models
#8

[eluser]crumpet[/eluser]
hmm i feel really stupid but it didn't seem to work .. i've rewritten the code since then to not use libraries in the model but I tested it pretty throughly... i wasn't autoloading any of hte libraries/models so i don't think thats a problem. And though originally I was loading the library in the constructor of the model I tried loading it in the same function as the library function is called. And yes the library works perfectly in a controller and i copy pasted the code for loading the library there into the model.

So I just tested it using bare bones functions and that seemed to work so it must have been an error in my code elsewhere...really strange though because i'm sure i tested it this way before
thanks everyone for your help I will post again if I figure out what the problem was exactly.


Messages In This Thread
using libraries in models - by El Forum - 05-29-2008, 01:47 PM
using libraries in models - by El Forum - 05-29-2008, 01:52 PM
using libraries in models - by El Forum - 05-29-2008, 02:16 PM
using libraries in models - by El Forum - 05-29-2008, 07:02 PM
using libraries in models - by El Forum - 05-29-2008, 07:54 PM
using libraries in models - by El Forum - 05-29-2008, 08:08 PM
using libraries in models - by El Forum - 05-29-2008, 08:14 PM
using libraries in models - by El Forum - 05-30-2008, 11:18 AM
using libraries in models - by El Forum - 05-30-2008, 11:34 AM
using libraries in models - by El Forum - 06-02-2008, 07:42 AM
using libraries in models - by El Forum - 06-02-2008, 03:30 PM
using libraries in models - by El Forum - 06-02-2008, 10:35 PM
using libraries in models - by El Forum - 06-03-2008, 01:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB