Merge pull request #16691 from mattwire/eventcart_cleanup
[civicrm-core.git] / api / v3 / Phone / Get.php
CommitLineData
6a488035 1<?php
b081365f
CW
2/*
3 +--------------------------------------------------------------------+
a30c801b 4 | Copyright CiviCRM LLC. All rights reserved. |
b081365f 5 | |
a30c801b
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 |
b081365f
CW
9 +--------------------------------------------------------------------+
10 */
11
12/**
13 * @package CiviCRM_APIv3
14 */
6a488035
TO
15
16/**
2fb1dd66
EM
17 * Retrieve one or more phones.
18 *
c23f45d3
EM
19 * This function has been declared there instead than in api/v3/Phone.php
20 * for no specific reasons, beside to demonstrate this feature
21 * (that might be useful in your module, eg if you want to implement a
22 * civicrm_api ('Phone','Dial') that you would then simply put in
23 * your module under api/v3/Phone/Dial.php.
6a488035 24 *
cf470720 25 * @param array $params
2e66abf8 26 * Array per getfields metadata.
6a488035 27 *
a6c01b45 28 * @return array
00f8641b 29 * API result array
6a488035
TO
30 */
31function civicrm_api3_phone_get($params) {
6a488035
TO
32 return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
33}