CRM_Utils_API_ReloadOption
in package
implements
API_Wrapper
Class CRM_Utils_API_ReloadOption
Table of Contents
Interfaces
- API_Wrapper
- Interface API_Wrapper
Properties
Methods
- fromApiInput() : array<string|int, mixed>
- Interface for interpreting api input.
- pickReturnFields() : array<string|int, mixed>
- Identify the fields which should be returned.
- singleton() : CRM_Utils_API_ReloadOption
- toApiOutput() : array<string|int, mixed>
- Interface for interpreting api output.
Properties
$_singleton
private
static CRM_Utils_API_ReloadOption
$_singleton
= \NULL
Methods
fromApiInput()
Interface for interpreting api input.
public
fromApiInput(mixed $apiRequest) : array<string|int, mixed>
Parameters
- $apiRequest : mixed
Tags
Return values
array<string|int, mixed> —modified $apiRequest
pickReturnFields()
Identify the fields which should be returned.
public
pickReturnFields(mixed $apiRequest) : array<string|int, mixed>
Parameters
- $apiRequest : mixed
Return values
array<string|int, mixed>singleton()
public
static singleton() : CRM_Utils_API_ReloadOption
Return values
CRM_Utils_API_ReloadOptiontoApiOutput()
Interface for interpreting api output.
public
toApiOutput(mixed $apiRequest, mixed $result) : array<string|int, mixed>
Parameters
- $apiRequest : mixed
- $result : mixed
Tags
Return values
array<string|int, mixed> —modified $result