Welcome Guest, Not a member yet? Register   Sign In
Use Of Helpers
#1

[eluser]leela[/eluser]
What is the use of helpers ?
Really are they very useful?
How can we create our own helper and how we can use it in our controller or views?
Please can anyone explain me clearly about the use of helpers.. I am really confused...
#2

[eluser]Sudz[/eluser]
Follow this link
http://ellislab.com/codeigniter/user-gui...lpers.html
#3

[eluser]sblaas[/eluser]
Helpers are exactly as what the title is refering to it's a "helper"
Some may call it a collection of functions.

For instance you can have extended email validation helper ( which also checks mx records )

For using a helper you call
Code:
$this->load->helper ( "helperfilename" );
Note. when calling the helper don't include the part of the filename "_helper"
Or you can use the autoload config




[quote author="leela" date="1304431830"]What is the use of helpers ?
Really are they very useful?
How can we create our own helper and how we can use it in our controller or views?
Please can anyone explain me clearly about the use of helpers.. I am really confused...[/quote]




Theme © iAndrew 2016 - Forum software by © MyBB