helpers function - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: helpers function (/showthread.php?tid=54950) |
helpers function - El Forum - 10-02-2012 [eluser]deamra[/eluser] 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? and 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 helpers function - El Forum - 10-03-2012 [eluser]royduin[/eluser] With Code: $this->load->helper("url"); If loaded you have access to those functions, see: http://ellislab.com/codeigniter/user-guide/helpers/url_helper.html If you need these functions on only one page you call Code: $this->load->helper("url"); If you're using the url helper on multiple pages it's recommended to autoload this by adding "url" to the autoloader array: Code: $autoload['helper'] = array("url"); helpers function - El Forum - 10-04-2012 [eluser]deamra[/eluser] ooh i see, thanks |