Merge pull request #6378 from johanv/CRM-15991-permission_delete_relationship
[civicrm-core.git] / api / v3 / ParticipantStatusType.php
index 84364576849ad2c0def1f9edad32bb182c12908c..3160b91d28f20b6f80456c02736ed235378ca911 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -29,7 +29,6 @@
  * This api exposes CiviCRM participant status options.
  *
  * @package CiviCRM_APIv3
- * @subpackage API_Event
  */
 
 /**
@@ -53,9 +52,7 @@ function civicrm_api3_participant_status_type_create($params) {
  * Returns array of participant_statuses matching a set of one or more group properties.
  *
  * @param array $params
- *   Array of one or more valid.
- *                       property_name=>value pairs. If $params is set
- *                       as null, all participant_statuses will be returned
+ *   Array of properties. If empty, all records will be returned.
  *
  * @return array
  *   Array of matching participant_statuses
@@ -67,8 +64,7 @@ function civicrm_api3_participant_status_type_get($params) {
 /**
  * Delete an existing participant_status.
  *
- * This method is used to delete any existing participant_status. id of the group
- * to be deleted is required field in $params array
+ * This method is used to delete any existing participant_status given its id.
  *
  * @param array $params
  *   [id]