}
/**
- * @param int $numParams
- * @param mixed $arg1
- * @param mixed $arg2
- * @param mixed $arg3
- * @param mixed $arg4
- * @param mixed $arg5
- * @param mixed $arg6
- * @param mixed $fnSuffix
+ *Invoke hooks
+ *
+ * @param int $numParams Number of parameters to pass to the hook
+ * @param mixed $arg1 parameter to be passed to the hook
+ * @param mixed $arg2 parameter to be passed to the hook
+ * @param mixed $arg3 parameter to be passed to the hook
+ * @param mixed $arg4 parameter to be passed to the hook
+ * @param mixed $arg5 parameter to be passed to the hook
+ * @param mixed $arg6 parameter to be passed to the hook
+ * @param string $fnSuffix function suffix, this is effectively the hook name
*
* @return mixed
*/
case 6:
$fResult = $fnName($arg1, $arg2, $arg3, $arg4, $arg5, $arg6);
break;
-
+
default:
CRM_Core_Error::fatal(ts('Invalid hook invocation'));
break;