I am relatively new to CodeIgniter, and so far my project has been completely created using controllers and views. However, as it becomes more complex, I found that there are certain functions that I copied to several controllers - this is hardly ideal, since editing requires remembering and editing all the others.
There are many CI features that I don’t know anything about - models, helpers, the "Controller" extension, etc. etc. Where should I look to accomplish the above? I believe that I could also import() block of code directly, although it seems to me that this is not a “CodeIgniter path”.
source share