X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FOrder.php;h=4bbaef684f06e79a9c58d8cb7f838c0cafa289e7;hb=3c53c5df46bccc842a5fe6bbcf2c89bb5607edf5;hp=aeb7106563ce83a46886857d54c7d8901c75d654;hpb=d1b6e73b99eb1805d8a5f77afd3940c0d45eca06;p=civicrm-core.git diff --git a/api/v3/Order.php b/api/v3/Order.php index aeb7106563..4bbaef684f 100644 --- a/api/v3/Order.php +++ b/api/v3/Order.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2016 | + | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -26,7 +26,8 @@ */ /** - * This api exposes CiviCRM Order records. + * This api exposes CiviCRM Order objects, an abstract entity + * comprised of contributions and related line items. * * @package CiviCRM_APIv3 */ @@ -131,8 +132,9 @@ function civicrm_api3_order_create(&$params) { * * @param array $params * Input parameters. - * * @return array + * @throws API_Exception + * @throws CiviCRM_API3_Exception */ function civicrm_api3_order_delete($params) { $contribution = civicrm_api3('Contribution', 'get', array(