function scald_invoke in Scald: Media Management made easy 6
Invokes a function, with a byref parameter.
4 calls to scald_invoke()
- scald_fetch in ./
scald.module - Load a Scald Atom.
- scald_prerender in ./
scald.module - Prepare a Scald Atom for rendering
- scald_register_atom in ./
scald.module - Register a new Scald Atom with Scald Core.
- scald_update_atom in ./
scald.module - Update a Scald Atom
File
- ./
scald.module, line 2930
Code
function scald_invoke($module, $hook, &$atom) {
$args = func_get_args();
array_shift($args);
array_shift($args);
array_shift($args);
$args = array_merge(array(
&$atom,
), $args);
$function = $module . '_' . $hook;
if (function_exists($function)) {
return call_user_func_array($function, $args);
}
}