Trouble calling Library 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: Trouble calling Library Function? (/showthread.php?tid=9844) |
Trouble calling Library Function? - El Forum - 07-10-2008 [eluser]JasonS[/eluser] I am reorganising my application and I am having some trouble calling a Library function. The library class is being autoloaded. This is working as this function works when called from a template file. However when I try to call it from my controller I get a PHP error. Error: Quote:A PHP Error was encountered Autoload: Code: $autoload['libraries'] = array('database', 'session', 'setsession', 'user'); Function I am trying to call Code: class User The line calling it Code: class Reception extends Controller Does anyone know what is going on? Help resolving this matter would be greatly appeciated. Trouble calling Library Function? - El Forum - 07-10-2008 [eluser]xwero[/eluser] have you tried with a lowercase u? Trouble calling Library Function? - El Forum - 07-10-2008 [eluser]JasonS[/eluser] Thanks a lot. I was unaware that calling libraries was sensitive. |