| 1 | <?php |
| 2 | /* |
| 3 | +--------------------------------------------------------------------+ |
| 4 | | Copyright CiviCRM LLC. All rights reserved. | |
| 5 | | | |
| 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 | |
| 9 | +--------------------------------------------------------------------+ |
| 10 | */ |
| 11 | |
| 12 | /** |
| 13 | * |
| 14 | * @package CiviCRM_Hook |
| 15 | * @copyright CiviCRM LLC https://civicrm.org/licensing |
| 16 | */ |
| 17 | class CRM_Utils_Hook_Soap extends CRM_Utils_Hook { |
| 18 | /** |
| 19 | * Invoke hooks. |
| 20 | * |
| 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. |
| 37 | * |
| 38 | * @return mixed |
| 39 | */ |
| 40 | |
| 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 | */ |
| 53 | public function invokeViaUF( |
| 54 | $numParams, |
| 55 | &$arg1, &$arg2, &$arg3, &$arg4, &$arg5, &$arg6, |
| 56 | $fnSuffix |
| 57 | ) { |
| 58 | // suppress all hok calls during soap |
| 59 | return NULL; |
| 60 | } |
| 61 | |
| 62 | } |