comment tweaks (typos etc)
[civicrm-core.git] / api / v3 / Phone / Get.php
1 <?php
2
3 /**
4 * Retrieve one or more phones
5 *
6 * @param mixed[] (reference ) input parameters
7 *
8 * {@schema Core/Phone.xml}
9 * {@example PhoneDelete.php 0}
10 * @param array $params an associative array of name/value pairs.
11 *
12 * @return array details of found phones else error
13 * @access public
14 * This function has been declared there instead than in api/v3/Phone.php for no specific reasons, beside to demonstrate this feature (that might be useful in your module, eg if you want to implement a civicrm_api ('Phone','Dial') that you would then simply put in your module under api/v3/Phone/Dial.php .
15 */
16 function civicrm_api3_phone_get($params) {
17
18 return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
19 }
20