CRM-15856 - Mailing BAO - Only validate tokens when calling through API
[civicrm-core.git] / api / v3 / LineItem.php
index c44c4e1ab5572fa7e5943a79d89f70774013b649..d5ca8d62c7b3e470a8dbaaff5164828c0e52e5bc 100644 (file)
 
 
 /**
- * File for the CiviCRM APIv3 line item functions
+ * This api exposes CiviCRM line item.
  *
  * @package CiviCRM_APIv3
- * @subpackage API_LineItem
- * @copyright CiviCRM LLC (c) 20042012
  */
 
 /**
@@ -54,7 +52,7 @@ function civicrm_api3_line_item_create($params) {
  * The metadata is used for setting defaults, documentation & validation.
  *
  * @param array $params
- *   Array or parameters determined by getfields.
+ *   Array of parameters determined by getfields.
  */
 function _civicrm_api3_line_item_create_spec(&$params) {
   $params['entity_id']['api.required'] = 1;
@@ -85,8 +83,7 @@ function civicrm_api3_line_item_get($params) {
  * to be deleted is required field in $params array
  *
  * @param array $params
- *   Array containing id of the group.
- *   to be deleted
+ *   Array containing id of the group to be deleted.
  *
  * @return array
  *   API result array