CustomValueActionTrait
Helper functions for working with custom values
Table of Contents
Properties
- $customGroup : string
- Custom Group name if this is a CustomValue pseudo-entity.
Methods
- __construct() : mixed
- getCustomGroup() : string
- getEntityName() : mixed
- isAuthorized() : bool
- Is this api call permitted?
- deleteObjects() : mixed
- fillDefaults() : mixed
- getBaoName() : CRM_Core_DAO|string
- writeObjects() : mixed
Properties
$customGroup
Custom Group name if this is a CustomValue pseudo-entity.
private
string
$customGroup
Methods
__construct()
public
__construct(mixed $customGroup, mixed $actionName) : mixed
Parameters
- $customGroup : mixed
- $actionName : mixed
getCustomGroup()
public
getCustomGroup() : string
Return values
stringgetEntityName()
public
getEntityName() : mixed
Tags
isAuthorized()
Is this api call permitted?
public
isAuthorized() : bool
This function is called if checkPermissions is set to true.
Return values
booldeleteObjects()
protected
deleteObjects(mixed $items) : mixed
Parameters
- $items : mixed
Tags
fillDefaults()
protected
fillDefaults(mixed &$params) : mixed
Parameters
- $params : mixed
Tags
getBaoName()
protected
getBaoName() : CRM_Core_DAO|string
Return values
CRM_Core_DAO|stringwriteObjects()
protected
writeObjects(mixed $items) : mixed
Parameters
- $items : mixed