25 foreach ($hooks as $callback) {
26 if (!is_callable($callback)) {
28 $this->logger->warn(
"handler for plugin hook [$hook, $type] is not callable: " 35 $temp_return_value = call_user_func_array($callback,
$args);
36 if (!is_null($temp_return_value)) {
37 $returnvalue = $temp_return_value;
describeCallable($callable)
Get a string description of a callback.
$args
Some servers don't allow PHP to check the rewrite, so try via AJAX.
trigger($hook, $type, $params=null, $returnvalue=null)
Triggers a plugin hook.
getOrderedHandlers($name, $type)
Returns an ordered array of handlers registered for $name and $type.