Seems codeigniter only allows one instance of a library I can’t design a solution with objects holding arrays of corresponding details as I usually would. I’m considering just doing AJAX calls to make additional queries from the view to fill the would be objects with their corresponding details. Does anyone have ideas for a more elegant solution?
Seems codeigniter only allows one instance of a library I can’t design a solution
Share
there is so a way to call an object more than once:
the CodeIgniter User Guide explains that very well. the third parameter alc will be what you now use to call that object injunction with the other, I have to do this myself a few times.
i wouldn’t do the require route as CI does a nice job of handling all those objects calls on its own.