CRM_Utils_API_MatchOption
class CRM_Utils_API_MatchOption implements API_Wrapper
Class CRM_Utils_API_MatchOption
Methods
static CRM_Utils_API_MatchOption
singleton()
Singleton function.
array
fromApiInput(array $apiRequest)
No description
array
match(string $entity, array $createParams, array $keys, bool $isMandatory)
Attempt to match a contact. This filters/updates the $createParams if there is a match.
array
toApiOutput(array $apiRequest, array $result)
No description
array
createGetParams(array $origParams, array $keys)
Create APIv3 "get" parameters to lookup an existing record using $keys
Details
at line 72
static CRM_Utils_API_MatchOption
singleton()
Singleton function.
at line 82
array
fromApiInput(array $apiRequest)
at line 149
array
match(string $entity, array $createParams, array $keys, bool $isMandatory)
Attempt to match a contact. This filters/updates the $createParams if there is a match.
at line 172
array
toApiOutput(array $apiRequest, array $result)
at line 187
array
createGetParams(array $origParams, array $keys)
Create APIv3 "get" parameters to lookup an existing record using $keys