Merge pull request #5010 from eileenmcnaughton/rebase2
[civicrm-core.git] / api / v3 / Phone / Get.php
index 4b5eec5e5fad6a505ba7961d6929333fa330f375..8edc255b9805a4bfe672ae8fa770651445867bb7 100644 (file)
@@ -1,21 +1,20 @@
 <?php
 
 /**
- * Retrieve one or more phones
+ * Retrieve one or more phones.
  *
- * @param mixed[] (reference ) input parameters
+ * 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.
  *
- * {@schema Core/Phone.xml}
- * {@example PhoneDelete.php 0}
  * @param array $params
  *   An associative array of name/value pairs.
  *
  * @return array
  *   details of found phones else error
- * @access public
- * 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 .
  */
 function civicrm_api3_phone_get($params) {
-
   return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
 }