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

[eluser]Xeoncross[/eluser]
Are you asking how you setup more hooks to run outside of setting them in the config/hooks.php file? If that is the question then my question is, why you are hard-coding hooks from in the controller instead of the hooks config?

If you are asking how you pass a variable to filter when calling the hook:

Code:
$mydata = $this->hooks->filter('custom_hook', $mydata);


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