Welcome Guest, Not a member yet? Register   Sign In
How do I need to do this? Library? Plugin? Helper? I don't know..
#5

[eluser]Gijs Bloemen[/eluser]
[quote author="Maglok" date="1247681258"]Well officially libraries are 'part of the CI core', plugins tend to be one function and the helpers multiple.

Plugins: http://ellislab.com/codeigniter/user-gui...ugins.html
Helpers: http://ellislab.com/codeigniter/user-gui...lpers.html

If it is one calculation you have to run a lot, write a helper, autoload it and just call the function.

You could also just create a function in the controller and call that.[/quote]

Hmm.. I am going to do it than with a helper, the calculation can change some times so it is better to just have one file I load all the times. If I want to change something I just have to change that one.

Thanks for your help.


Messages In This Thread
How do I need to do this? Library? Plugin? Helper? I don't know.. - by El Forum - 07-15-2009, 07:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB