Documentation

PriceFieldValue.php

This api exposes CiviCRM price field values.

PriceFields may contain zero or more PriceFieldValues. Use chaining to create PriceFields and values in one api call.

Table of Contents

Functions

civicrm_api3_price_field_value_create()  : array<string|int, mixed>
Create or update a PriceFieldValue.
_civicrm_api3_price_field_value_create_spec()  : mixed
Adjust Metadata for Create action.
civicrm_api3_price_field_value_get()  : array<string|int, mixed>
Returns array of PriceFieldValues matching a set of one or more group properties.
civicrm_api3_price_field_value_delete()  : array<string|int, mixed>
Delete an existing PriceFieldValue.

Functions

civicrm_api3_price_field_value_create()

Create or update a PriceFieldValue.

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

name/value pairs to insert in new 'PriceFieldValue'

Return values
array<string|int, mixed>

API result array.

_civicrm_api3_price_field_value_create_spec()

Adjust Metadata for Create action.

_civicrm_api3_price_field_value_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_price_field_value_get()

Returns array of PriceFieldValues matching a set of one or more group properties.

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

Array of one or more valid property_name=>value pairs. If $params is set. as null, all price_field_values will be returned (default limit is 25)

Return values
array<string|int, mixed>

API result array.

civicrm_api3_price_field_value_delete()

Delete an existing PriceFieldValue.

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

This method is used to delete any existing PriceFieldValue given its id.

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

Array containing id of the group to be deleted.

Return values
array<string|int, mixed>

API result array.


        
On this page

Search results