Where to put custom loop functions? |
To display a lot of arrays in different ways on a page, I need to loop through them. These arrays are generated by a module class. I am aware that it's not recommended to include functions on views, so I am looking for the best place to insert the functions file.
I understand that I can extend helpers, but I don't want to do that. Instead, I would like to create a custom helper file for my loop functions, which I will call loops_helper.php.
A helper or place in Common.php
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |