Welcome Guest, Not a member yet? Register   Sign In
New to CI and PHP Question
#1

[eluser]btray77[/eluser]
Hi, I've got a commercial API (else I'd post the code) class I'm trying to use as a library (I'm guessing that would be the best way to use it inside of CI.)

It has before the class name some global variables that you have to assign a value to. I've been unable to get it to work with CI.

It also does not have a function named its self in the class. Is that required with CI?

I'm guessing I need to make a constructor that assigns the values to those variable names outside of the class. Then pass the data though the $data variable. And I'm guessing I need to make a function called the class name. If I need to do this, does anything need to happen in this function?

Any help would be appreciated

Thank you

-Brad


Messages In This Thread
New to CI and PHP Question - by El Forum - 01-20-2008, 05:01 AM
New to CI and PHP Question - by El Forum - 01-20-2008, 05:11 AM
New to CI and PHP Question - by El Forum - 01-20-2008, 05:28 AM
New to CI and PHP Question - by El Forum - 01-20-2008, 05:34 AM
New to CI and PHP Question - by El Forum - 01-20-2008, 05:59 AM
New to CI and PHP Question - by El Forum - 01-20-2008, 02:00 PM
New to CI and PHP Question - by El Forum - 01-20-2008, 02:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB