function protected_node_invoke in Protected Node 6
Same name and namespace in other branches
- 7 protected_node.module \protected_node_invoke()
- 1.0.x protected_node.module \protected_node_invoke()
Call module implemented functions with a parameter passed as reference instead of copy.
For calls that require multiple parameters, use an array or object.
@param[in] $hook The name of the hook to call @param[in,out] $param The one parameter to pass to the hook functions
1 call to protected_node_invoke()
- protected_node_nodeapi in ./
protected_node.module - Implementation of hook_nodeapi(). @link http://api.drupal.org/api/function/hook_nodeapi/6
File
- ./
protected_node.module, line 348
Code
function protected_node_invoke($hook, &$param) {
foreach (module_implements($hook) as $module) {
call_user_func($module . '_' . $hook, $param);
}
}