CRM-15578 - Mailing.create - Fix updates to "groups" and "mailings". Add test.
[civicrm-core.git] / api / v3 / MembershipStatus.php
index c44dc6639a4dbcde9ad642c55ac25a205d163405..82490d371ca3feee328709b75f9b5a1961a193b1 100644 (file)
@@ -52,16 +52,6 @@ function civicrm_api3_membership_status_create($params) {
   return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
 }
 
-/**
- * Adjust Metadata for Create action
- *
- * The metadata is used for setting defaults, documentation & validation
- * @param array $params array or parameters determined by getfields
- */
-function _civicrm_api3_membership_status_create_spec(&$params) {
-  $params['name']['api.aliases'] = array('label');
-}
-
 /**
  * Get a membership status.
  *
@@ -81,7 +71,7 @@ function civicrm_api3_membership_status_get($params) {
  * Update an existing membership status
  *
  * This api is used for updating an existing membership status.
- * Required parrmeters : id of a membership status
+ * Required parameters : id of a membership status
  *
  * @param  Array   $params  an associative array of name/value property values of civicrm_membership_status
  * @deprecated - should just use create
@@ -142,8 +132,11 @@ function civicrm_api3_membership_status_delete($params) {
  * This API is used for deriving Membership Status of a given Membership
  * record using the rules encoded in the membership_status table.
  *
- * @param  Int     $membershipID  Id of a membership
- * @param  String  $statusDate
+ * @param $membershipParams
+ *
+ * @throws API_Exception
+ * @internal param Int $membershipID Id of a membership
+ * @internal param String $statusDate
  *
  * @return Array  Array of status id and status name
  * @public