Merge pull request #15764 from civicrm/5.20
[civicrm-core.git] / CRM / Utils / Hook / Soap.php
CommitLineData
40d837df 1<?php
40d837df
CW
2/*
3 +--------------------------------------------------------------------+
fee14197 4 | CiviCRM version 5 |
40d837df 5 +--------------------------------------------------------------------+
f299f7db 6 | Copyright CiviCRM LLC (c) 2004-2020 |
40d837df
CW
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 +--------------------------------------------------------------------+
d25dd0ee 26 */
40d837df
CW
27
28/**
29 *
30 * @package CiviCRM_Hook
f299f7db 31 * @copyright CiviCRM LLC (c) 2004-2020
40d837df
CW
32 */
33class CRM_Utils_Hook_Soap extends CRM_Utils_Hook {
5bc392e6 34 /**
fe482240 35 * Invoke hooks.
5bc392e6 36 *
77855840
TO
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.
5bc392e6
EM
53 *
54 * @return mixed
55 */
6714d8d2 56
5bc392e6
EM
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 */
354345c9 69 public function invokeViaUF(
a3e55d9c 70 $numParams,
87dab4a4 71 &$arg1, &$arg2, &$arg3, &$arg4, &$arg5, &$arg6,
40d837df
CW
72 $fnSuffix
73 ) {
74 // suppress all hok calls during soap
c301f76e 75 return NULL;
40d837df 76 }
96025800 77
40d837df 78}