Welcome Guest, Not a member yet? Register   Sign In
Integrating a third-party class with CI?
#1

[eluser]jprateragg[/eluser]
The application I'm porting to CI uses a third-party class/library called PHPDOCX. How difficult is it to use this class in CI? Does any work need to be done to the class? I really don't want to have to overhaul the entire library just for this project. Thanks!
#2

[eluser]CroNiX[/eluser]
It depends on the class, but most of the time you just need to make sure the classname matches the filename and put it in the libraries dir and load it like any other library. But if it uses DB, etc, you might want to convert that to use CI's db connection, etc.




Theme © iAndrew 2016 - Forum software by © MyBB