function invoke_hook
Search API
| 7.x misc.inc | invoke_hook($hook = "example_hook_here", $params = array()) |
| 6.x misc.inc | invoke_hook($hook = "example_hook_here", $params = array()) |
| 5.x misc.inc | invoke_hook($hook = "example_hook_here", $params = array()) |
Invoke all module hooks for the supplied hook.
62 calls to invoke_hook()
- admin.module in modules/
admin/ admin.module - The administrative configurations for FlightPath.
- admin_apply_draft_changes_form_submit in modules/
admin/ admin.module - Handles the actual moving of draft courses into production.
- AdvisingScreen.php in classes/
AdvisingScreen.php - AdvisingScreen::build_footnotes in classes/
AdvisingScreen.php - Constructs the HTML which will show footnotes for substitutions and transfer credits.
- AdvisingScreen::build_screen_elements in classes/
AdvisingScreen.php - This function calls the other "build" functions to assemble the View or What If tabs in FlightPath.
File
- includes/
misc.inc, line 2470 - This file contains misc functions for FlightPath
Code
function invoke_hook($hook = "example_hook_here", $params = array()) {
$rtn = array();
$modules = modules_implement_hook($hook);
foreach ($modules as $module) {
$rtn [$module] = call_user_func_array($module . "_" . $hook, $params);
}
return $rtn;
}
