Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Helper files are similar to libraries in that they're a collection of functionality, but they're different in that they're not object oriented. Instead, they're procedural functions that perform one specific task with no dependence on any other function. Examples of helper function files include a date helper, form helper and URL helper. Helper files aren't loaded by default. So, if I wanted to use one, I'd have to explicitly load it from the controller using the helper method. Similar to loading libraries, I can either pass a string or an array as the argument. If I needed help getting a date, I just use the string date, this -> load -> helper, date.
If I wanted to load multiple helpers at once, I'd pass it in an array of strings like date, form, url. Now, let's revisit that form, but this time I'm going to use helpers.
Get unlimited access to all courses for just $25/month.Become a member
61 Video lessons · 96774 Viewers
56 Video lessons · 110475 Viewers
71 Video lessons · 79309 Viewers
131 Video lessons · 38044 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.