Welcome Guest, Not a member yet? Register   Sign In
Use the codeigniter library in hook class or function,HOWTO
#2

[eluser]Seppo[/eluser]
If you want to use a library, you would need to use a hook at least in post_controller_constructor. There you can be sure the basic core is loaded.
Then you can use get_instance() to get the controller object and access to the libraries.


Messages In This Thread
Use the codeigniter library in hook class or function,HOWTO - by El Forum - 07-07-2008, 05:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB