Merge pull request #16126 from civicrm/5.21
[civicrm-core.git] / CRM / Utils / Hook / Soap.php
CommitLineData
40d837df 1<?php
40d837df
CW
2/*
3 +--------------------------------------------------------------------+
bc77d7c0 4 | Copyright CiviCRM LLC. All rights reserved. |
40d837df 5 | |
bc77d7c0
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
40d837df 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
40d837df
CW
11
12/**
13 *
14 * @package CiviCRM_Hook
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
40d837df
CW
16 */
17class CRM_Utils_Hook_Soap extends CRM_Utils_Hook {
5bc392e6 18 /**
fe482240 19 * Invoke hooks.
5bc392e6 20 *
77855840
TO
21 * @param int $numParams
22 * Number of parameters to pass to the hook.
23 * @param mixed $arg1
24 * Parameter to be passed to the hook.
25 * @param mixed $arg2
26 * Parameter to be passed to the hook.
27 * @param mixed $arg3
28 * Parameter to be passed to the hook.
29 * @param mixed $arg4
30 * Parameter to be passed to the hook.
31 * @param mixed $arg5
32 * Parameter to be passed to the hook.
33 * @param mixed $arg6
34 * Parameter to be passed to the hook.
35 * @param string $fnSuffix
36 * Function suffix, this is effectively the hook name.
5bc392e6
EM
37 *
38 * @return mixed
39 */
6714d8d2 40
5bc392e6
EM
41 /**
42 * @param int $numParams
43 * @param mixed $arg1
44 * @param mixed $arg2
45 * @param mixed $arg3
46 * @param mixed $arg4
47 * @param mixed $arg5
48 * @param mixed $arg6
49 * @param string $fnSuffix
50 *
51 * @return mixed
52 */
354345c9 53 public function invokeViaUF(
a3e55d9c 54 $numParams,
87dab4a4 55 &$arg1, &$arg2, &$arg3, &$arg4, &$arg5, &$arg6,
40d837df
CW
56 $fnSuffix
57 ) {
58 // suppress all hok calls during soap
c301f76e 59 return NULL;
40d837df 60 }
96025800 61
40d837df 62}