CodeIgniter Forums
helpers function - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: helpers function (/thread-54950.html)

helpers function - El Forum - 10-02-2012

i have some question, pls if you think tell me quickly. before that, thanks for help me ^^
" i have template CSS, i confess about fuse CSS with CI, do you know
$this->load->helper('url'); ? ---> ('url') whats that?
Auto-loading Helpers
(If you find that you need a particular helper globally throughout your application, you can tell CodeIgniter to auto-load it during system initialization. This is done by opening the application/config/autoload.php file and adding the helper to the autoload array.) ---> in User Guide.
Can you explain me about that? "

thanks and keep coding Smile

helpers function - El Forum - 10-03-2012

You load the url helper in system/helpers/url_helper.php
If loaded you have access to those functions, see:

If you need these functions on only one page you call

If you're using the url helper on multiple pages it's recommended to autoload this by adding "url" to the autoloader array:
$autoload['helper'] = array("url");
Found in application/config/autoload.php

helpers function - El Forum - 10-04-2012

ooh i see, thanks