![]() |
Calling library methods - 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: Calling library methods (/showthread.php?tid=46919) |
Calling library methods - El Forum - 11-20-2011 [eluser]Unknown[/eluser] Hi, I see some controllers call a library method as: Code: $this->library_class->method It is okay to do: Code: $foo = new library_class(); Not sure what the difference is here? Thanks |