3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
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 +--------------------------------------------------------------------+
13 * @package CiviCRM_APIv3
17 * Retrieve one or more phones.
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.
25 * @param array $params
26 * Array per getfields metadata.
31 function civicrm_api3_phone_get($params) {
32 return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__
), $params);