[eluser]CI Coder[/eluser]
[quote author="InsiteFX" date="1301383966"]You will need to use the $this->helper->function
If it will not work then load it in your model.
InsiteFX[/quote]
Well... I don't know about that. Helpers are just collections of functions, not methods of classes, so you can't do
Code:
$this->helper->function
Basically
Code:
$this->load->helper(...)
does exactly what
does in PHP with the added ease of not having to specify the full path to the file as well as being able to add your own helper functions or to overwrite the ones that ship with CI under the same name.
If you load a helper in the constructor of your controller, all its member functions should be available in all the models that you use in all the controller methods. That is, only if you don't use some sort of hook or rig the system some other way to use the helper before the controller instantiates. In that case you're on your own.
My advice is to load anything you need when you need it. The Loader class keeps track of what it's loaded and it won't load it again. It basically makes everything a singleton.
Hope that helps.