* Return a contact_id-keyed array of arrays of possible dupes
* (of the key contact_id) - limited to dupes of $cids if provided.
*
- * @param int $rgid rule group id
- * @param array $cids contact ids to limit the search to
+ * @param int $rgid
+ * Rule group id.
+ * @param array $cids
+ * Contact ids to limit the search to.
*
* @return array array of (cid1, cid2, weight) dupe triples
*/
* permission to be checked for anonymous users. Refer CRM-6211. We might be beaking
* Multi-Site dedupe for public pages.
*
- * @param array $params array of params of the form $params[$table][$field] == $value
- * @param string $ctype contact type to match against
- * @param string $used dedupe rule group usage ('Unsupervised' or 'Supervised' or 'General')
- * @param array $except array of contacts that shouldn't be considered dupes
- * @param int $ruleGroupID the id of the dedupe rule we should be using
+ * @param array $params
+ * Array of params of the form $params[$table][$field] == $value.
+ * @param string $ctype
+ * Contact type to match against.
+ * @param string $used
+ * Dedupe rule group usage ('Unsupervised' or 'Supervised' or 'General').
+ * @param array $except
+ * Array of contacts that shouldn't be considered dupes.
+ * @param int $ruleGroupID
+ * The id of the dedupe rule we should be using.
*
* @return array matching contact ids
*/
/**
* Return a contact_id-keyed array of arrays of possible dupes in the given group.
*
- * @param int $rgid rule group id
- * @param int $gid contact group id (currently, works only with non-smart groups)
+ * @param int $rgid
+ * Rule group id.
+ * @param int $gid
+ * Contact group id (currently, works only with non-smart groups).
*
* @return array array of (cid1, cid2, weight) dupe triples
*/
/**
* Return dupes of a given contact, using the default rule group (of a provided usage).
*
- * @param int $cid contact id of the given contact
- * @param string $used dedupe rule group usage ('Unsupervised' or 'Supervised' or 'General')
- * @param string $ctype contact type of the given contact
+ * @param int $cid
+ * Contact id of the given contact.
+ * @param string $used
+ * Dedupe rule group usage ('Unsupervised' or 'Supervised' or 'General').
+ * @param string $ctype
+ * Contact type of the given contact.
*
* @return array array of dupe contact_ids
*/
* A hackish function needed to massage CRM_Contact_Form_$ctype::formRule()
* object into a valid $params array for dedupe
*
- * @param array $fields contact structure from formRule()
- * @param string $ctype contact type of the given contact
+ * @param array $fields
+ * Contact structure from formRule().
+ * @param string $ctype
+ * Contact type of the given contact.
*
* @return array valid $params array for dedupe
*/
/**
* We treat multi-valued custom sets as "related tables" similar to activities, contributions, etc.
- * @param string $request 'relTables' or 'cidRefs'
+ * @param string $request
+ * 'relTables' or 'cidRefs'.
* @see CRM-13836
*/
public static function getMultiValueCustomSets($request) {
/**
* Find differences between contacts.
*
- * @param array $main contact details
- * @param array $other contact details
+ * @param array $main
+ * Contact details.
+ * @param array $other
+ * Contact details.
*
* @return array
* @static
/**
* Batch merge a set of contacts based on rule-group and group.
*
- * @param int $rgid rule group id
- * @param int $gid group id
- * @param string $mode helps decide how to behave when there are conflicts.
+ * @param int $rgid
+ * Rule group id.
+ * @param int $gid
+ * Group id.
+ * @param string $mode
+ * Helps decide how to behave when there are conflicts.
* A 'safe' value skips the merge if there are any un-resolved conflicts.
* Does a force merge otherwise.
- * @param boolean $autoFlip wether to let api decide which contact to retain and which to delete.
+ * @param boolean $autoFlip
+ * Wether to let api decide which contact to retain and which to delete.
* @param bool $redirectForPerformance
*
* @return array|bool
/**
* Merge given set of contacts. Performs core operation.
*
- * @param array $dupePairs set of pair of contacts for whom merge is to be done.
- * @param array $cacheParams prev-next-cache params based on which next pair of contacts are computed.
+ * @param array $dupePairs
+ * Set of pair of contacts for whom merge is to be done.
+ * @param array $cacheParams
+ * Prev-next-cache params based on which next pair of contacts are computed.
* Generally used with batch-merge.
- * @param string $mode helps decide how to behave when there are conflicts.
+ * @param string $mode
+ * Helps decide how to behave when there are conflicts.
* A 'safe' value skips the merge if there are any un-resolved conflicts.
* Does a force merge otherwise (aggressive mode).
- * @param boolean $autoFlip wether to let api decide which contact to retain and which to delete.
+ * @param boolean $autoFlip
+ * Wether to let api decide which contact to retain and which to delete.
*
*
* @param bool $redirectForPerformance
* A function which uses various rules / algorithms for choosing which contact to bias to
* when there's a conflict (to handle "gotchas"). Plus the safest route to merge.
*
- * @param int $mainId main contact with whom merge has to happen
- * @param int $otherId duplicate contact which would be deleted after merge operation
- * @param array $migrationInfo array of information about which elements to merge.
- * @param string $mode helps decide how to behave when there are conflicts.
+ * @param int $mainId
+ * Main contact with whom merge has to happen.
+ * @param int $otherId
+ * Duplicate contact which would be deleted after merge operation.
+ * @param array $migrationInfo
+ * Array of information about which elements to merge.
+ * @param string $mode
+ * Helps decide how to behave when there are conflicts.
* A 'safe' value skips the merge if there are any un-resolved conflicts.
* Does a force merge otherwise (aggressive mode).
*
/**
* A function to build an array of information required by merge function and the merge UI.
*
- * @param int $mainId main contact with whom merge has to happen
- * @param int $otherId duplicate contact which would be deleted after merge operation
+ * @param int $mainId
+ * Main contact with whom merge has to happen.
+ * @param int $otherId
+ * Duplicate contact which would be deleted after merge operation.
*
* @return array|bool|int
* @static
* other contact to the main one - be it Location / CustomFields or Contact .. related info.
* A superset of moveContactBelongings() function.
*
- * @param int $mainId main contact with whom merge has to happen
- * @param int $otherId duplicate contact which would be deleted after merge operation
+ * @param int $mainId
+ * Main contact with whom merge has to happen.
+ * @param int $otherId
+ * Duplicate contact which would be deleted after merge operation.
*
* @param $migrationInfo
*