From 7c5595fa77942407c251a7832ee41db5c664822e Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 20 Sep 2006 23:35:42 +0000 Subject: --- user_guide/general/helpers.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'user_guide') diff --git a/user_guide/general/helpers.html b/user_guide/general/helpers.html index 1bed4a8b0..7d16d023f 100644 --- a/user_guide/general/helpers.html +++ b/user_guide/general/helpers.html @@ -74,6 +74,12 @@ Each helper function performs one specific task, with no dependence on other fun

Code Igniter does not load Helper Files by default, so the first step in using a Helper is to load it. Once loaded, it becomes globally available in your controller and views.

+

Helpers are typically stored in your system/helpers directory. Alternately you can create a folder called helpers inside +your application folder and store them there. Code Igniter will look first in your system/application/helpers +directory. If the direcotry does not exist or the specified helper is not located there CI will instead look in your global +system/helpers folder.

+ +

Loading a Helper

Loading a helper file is quite simple using the following function:

-- cgit v1.2.3-24-g4f1b