Documentation

Batch.php

This api exposes CiviCRM Batch records.

Table of Contents

Functions

civicrm_api3_batch_create()  : array<string|int, mixed>
Save a Batch.
_civicrm_api3_batch_create_spec()  : mixed
Adjust Metadata for Create action.
civicrm_api3_batch_get()  : array<string|int, mixed>
Get a Batch.
civicrm_api3_batch_delete()  : array<string|int, mixed>
Delete a Batch.

Functions

civicrm_api3_batch_create()

Save a Batch.

civicrm_api3_batch_create(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
Tags
throws
CRM_Core_Exception
throws
UnauthorizedException
Return values
array<string|int, mixed>

_civicrm_api3_batch_create_spec()

Adjust Metadata for Create action.

_civicrm_api3_batch_create_spec(array<string|int, mixed> &$params) : mixed

The metadata is used for setting defaults, documentation & validation.

Parameters
$params : array<string|int, mixed>

Array of parameters determined by getfields.

civicrm_api3_batch_get()

Get a Batch.

civicrm_api3_batch_get(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
Return values
array<string|int, mixed>

Array of retrieved batch property values.

civicrm_api3_batch_delete()

Delete a Batch.

civicrm_api3_batch_delete(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
Tags
throws
CRM_Core_Exception
throws
UnauthorizedException
Return values
array<string|int, mixed>

Array of deleted values.


        
On this page

Search results