Helper in CodeIgniter is a
collection of functions that will help make the application using CodeIgniter.
Helper has a procedural.
Default helper in
CodeIgniter.
1. Helper email
2. Html helper
3. Helper date
Rules on making the helper
name helpername_helper and files are stored on the directory website / system /
helpers /. After making the next step is to run the helper. In order to run it we have to load first.
How to load helper we have made are:
1. In the autoload.php
2. Through Controller
There are two ways to load
the helper in the controller:
a. put in the constructor
b. put in the function.
3. Inside View
No comments:
Post a Comment