Welcome Guest, Not a member yet? Register   Sign In
Hooks example
#5

[eluser]SabbeRubbish[/eluser]
[quote author="webthink" date="1208134805"]I think the fact that hooks are labeled in the manual as "extending the core" is a bit misleading. Essentially what they're for are allocating your own custom routines to be run at any of the few predetermined spots in the CI load stack. For people new to CodeIgniter a heading such as "auto running custom code" would make more sense.
For extending the DB libraries it's not a hook you want. Have a look at "Extending native libraries" under the libraries section.[/quote]

I think the term hook suits perfectly for it, but indeed it doesn't extend the core.


Messages In This Thread
Hooks example - by El Forum - 02-14-2008, 12:13 PM
Hooks example - by El Forum - 02-15-2008, 11:17 AM
Hooks example - by El Forum - 04-13-2008, 10:25 AM
Hooks example - by El Forum - 04-13-2008, 02:00 PM
Hooks example - by El Forum - 04-14-2008, 02:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB