From: monishdeb Date: Tue, 17 Feb 2015 06:43:57 +0000 (+0530) Subject: added doc X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f72be46d30f9d53c90284bcc5f7c7c4505149cb9;p=civicrm-core.git added doc --- diff --git a/api/v3/Relationship.php b/api/v3/Relationship.php index fcaed329c4..a5845090e8 100644 --- a/api/v3/Relationship.php +++ b/api/v3/Relationship.php @@ -147,6 +147,15 @@ function _civicrm_api3_handle_relationship_type(&$params) { } } +/** + * Hack to ensure inherited membership got created/deleted on + * relationship add/delete respectively. + * + * @param array $params + * Array per getfields metadata. + * + * @return array + */ function civicrm_api3_relationship_setvalue($params) { require_once 'api/v3/Generic/Setvalue.php'; $result = civicrm_api3_generic_setValue(array("entity" => 'Relationship', 'params' => $params));