Skip to content

Instantly share code, notes, and snippets.

@kraigh
Last active August 29, 2015 14:00
Show Gist options
  • Save kraigh/11276755 to your computer and use it in GitHub Desktop.
Save kraigh/11276755 to your computer and use it in GitHub Desktop.
<?php
if (function_exists($function)) {
$context = array_merge($context, $params);
$actions_result[$action_id] = $function($object, $context, $a1, $a2);
}
else {
$actions_result[$action_id] = FALSE;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment