<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
* An associative array of name/value property values of civicrm_membership_status.
*
* @return array
- * of newly created membership status property values.
+ * Array of newly created membership status property values.
* {@getfields MembershipStatus_create}
- * @access public
*/
function civicrm_api3_membership_status_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
* An associative array of name/value property values of civicrm_membership_status.
*
- * @return Array
- * of all found membership status property values.
+ * @return array
+ * Array of all found membership status property values.
* {@getfields MembershipStatus_get}
- * @access public
*/
function civicrm_api3_membership_status_get($params) {
return _civicrm_api3_basic_get('CRM_Member_BAO_MembershipStatus', $params);
* @deprecated - should just use create
*
* @return array
- * of updated membership status property values
- * @access public
+ * Array of updated membership status property values
*/
function &civicrm_api3_membership_status_update($params) {
*
* This API is used for deleting a membership status
*
- * @param array Params array containing 'id' - Id of the membership status to be deleted
- * {@getfields MembershipStatus_delete}
- *
+ * @param array $params
* @return array
- * i
- * @access public
*/
function civicrm_api3_membership_status_delete($params) {
* @throws API_Exception
*
* @return Array
- * Array of status id and status name
+ * Array of status id and status name
* @public
*/
function civicrm_api3_membership_status_calc($membershipParams) {
$dao->free();
return $result;
}
-