I think CI does not check auxiliary duplication ... CI herrpers are procedural files, you can enable ur helper twice if ur controller has the same helper loaded as ur model (which is loaded into this controller). Maybe instead of a library ...
I see that I get a negative vote without comment ... by checking the loader class from the CI kernel, u can see that the helpers method does not check if the helper has been added before (it is not included in the is_loaded () array like most classes loaded using the load factory class) ... I do not recommend in any case loading handlers in both models and controllers ... for ex, I made a helper to output the encoding that I use in controllers (before I pass view data). It would be very bad if I changed the view state twice ...
Tudor
source share