Merge pull request #14062 from civicrm/5.13
[civicrm-core.git] / CRM / Utils / Hook / Soap.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 5 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2019 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
26 */
27
28 /**
29 *
30 * @package CiviCRM_Hook
31 * @copyright CiviCRM LLC (c) 2004-2019
32 */
33 class CRM_Utils_Hook_Soap extends CRM_Utils_Hook {
34 /**
35 * Invoke hooks.
36 *
37 * @param int $numParams
38 * Number of parameters to pass to the hook.
39 * @param mixed $arg1
40 * Parameter to be passed to the hook.
41 * @param mixed $arg2
42 * Parameter to be passed to the hook.
43 * @param mixed $arg3
44 * Parameter to be passed to the hook.
45 * @param mixed $arg4
46 * Parameter to be passed to the hook.
47 * @param mixed $arg5
48 * Parameter to be passed to the hook.
49 * @param mixed $arg6
50 * Parameter to be passed to the hook.
51 * @param string $fnSuffix
52 * Function suffix, this is effectively the hook name.
53 *
54 * @return mixed
55 */
56
57 /**
58 * @param int $numParams
59 * @param mixed $arg1
60 * @param mixed $arg2
61 * @param mixed $arg3
62 * @param mixed $arg4
63 * @param mixed $arg5
64 * @param mixed $arg6
65 * @param string $fnSuffix
66 *
67 * @return mixed
68 */
69 public function invokeViaUF(
70 $numParams,
71 &$arg1, &$arg2, &$arg3, &$arg4, &$arg5, &$arg6,
72 $fnSuffix
73 ) {
74 // suppress all hok calls during soap
75 return NULL;
76 }
77
78 }