Welcome Guest, Not a member yet? Register   Sign In
Plugin Handling Class - Extends the CI_Hooks Class
#10

[eluser]Xeoncross[/eluser]
Actually, it doesn't get anymore plug-in-play than the way CI does it. I used to do it like what you did, but having to change lines by hunting down files and removing/adding filters is really bad practice. Config settings should go in config files (like hooks) that way you can manage all hooks from one place. Also, running code from a plugin/hook/file (like grabbing the CI instance to set a plugins) is really bad form and is MUCH slower than just using hooks.php because you have to load ALL files just to see if they register some hook!


Messages In This Thread
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 08-05-2008, 06:23 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 08-05-2008, 07:00 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 08-05-2008, 07:15 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 08-05-2008, 07:24 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 08-05-2008, 07:34 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 08-05-2008, 07:42 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 04:02 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 05:32 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 05:46 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 05:50 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 06:20 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 06:29 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 06:34 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 06:41 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 06:47 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-30-2008, 06:51 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-31-2008, 04:22 AM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-31-2008, 11:42 AM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-31-2008, 11:43 AM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-31-2008, 11:49 AM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-31-2008, 11:51 AM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-31-2008, 11:55 AM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-31-2008, 12:00 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 12-31-2008, 12:08 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 07-15-2009, 12:55 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 07-15-2009, 01:04 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 07-15-2009, 01:55 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 07-15-2009, 02:00 PM
Plugin Handling Class - Extends the CI_Hooks Class - by El Forum - 07-16-2009, 08:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB