Function help! - 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: Function help! (/showthread.php?tid=35429) |
Function help! - El Forum - 10-29-2010 [eluser]steviez[/eluser] Hi, I have a function that i need to be global through my site, so that it can be accessed site wide and not just in one controller... How could i do this? Thanks Function help! - El Forum - 10-29-2010 [eluser]tonanbarbarian[/eluser] either create it in a library or a helper Function help! - El Forum - 10-29-2010 [eluser]steviez[/eluser] [quote author="tonanbarbarian" date="1288351179"]either create it in a library or a helper[/quote] I tried to but when i do it messes up when i try to use codeigniter functions and lang etc Function help! - El Forum - 10-29-2010 [eluser]mi6crazyheart[/eluser] Have a look at here. May b it'll give u some help to implement u'r idea... CI User_guide link: http://ellislab.com/codeigniter/user-guide/general/autoloader.html |