RuleGroup.php
This api exposes CiviCRM rule_groups.
RuleGroups are used to group dedupe critieria.
Table of Contents
Functions
- civicrm_api3_rule_group_create() : array<string|int, mixed>
- Create or update a rule_group.
- _civicrm_api3_rule_group_create_spec() : mixed
- Specify Meta data for create.
- civicrm_api3_rule_group_delete() : array<string|int, mixed>
- Delete an existing RuleGroup.
- civicrm_api3_rule_group_get() : array<string|int, mixed>
- Get a RuleGroup.
Functions
civicrm_api3_rule_group_create()
Create or update a rule_group.
civicrm_api3_rule_group_create(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
-
Array per getfields metadata.
Return values
array<string|int, mixed> —API result array
_civicrm_api3_rule_group_create_spec()
Specify Meta data for create.
_civicrm_api3_rule_group_create_spec(array<string|int, mixed> &$params) : mixed
Note that this data is retrievable via the getfields function and is used for pre-filling defaults and ensuring mandatory requirements are met.
Parameters
- $params : array<string|int, mixed>
civicrm_api3_rule_group_delete()
Delete an existing RuleGroup.
civicrm_api3_rule_group_delete(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —API result array
civicrm_api3_rule_group_get()
Get a RuleGroup.
civicrm_api3_rule_group_get(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
-
Array per getfields metadata.
Return values
array<string|int, mixed> —API result array