Welcome Guest, Not a member yet? Register   Sign In
Resolving conflicting extended libraries
#1

[eluser]Dave Stewart[/eluser]
Hey All,

It appears that once a few different 3rd party libraries and such like are added to the system, a few of the extended libraries can start to conflict.

What's the deal here? Is there no way to load a library and just have it attach it's functionality to the super object dynamically or something?

What's best practice?

Cheers,
Dave
#2

[eluser]Dave Stewart[/eluser]
(bump) No takers for this one?
#3

[eluser]Pascal Kriete[/eluser]
You need to work out what functions are being overriden and what effect it has. Then change them so that all desired effects are included.

Core library extensions are instantiated along with the base library, because a lot of the core library functions run before a controller is called. That means that CI has no reference to the current state of the application. That's also why dynamically calling them wouldn't work - it's too late by that point.

If you have a mutually exclusive conflict, you'll need to decide what behavior is more desirable.
#4

[eluser]Dave Stewart[/eluser]
OK thanks. I'll just hard-code it at this point.
Cheers,
Dave




Theme © iAndrew 2016 - Forum software by © MyBB