Documentation

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

isAuthorized()

Is this api call permitted?

public isAuthorized() : bool

This function is called if checkPermissions is set to true.

Return values
bool

deleteObjects()

protected deleteObjects(mixed $items) : mixed
Parameters
$items : mixed
Tags
inheritDoc

fillDefaults()

protected fillDefaults(mixed &$params) : mixed
Parameters
$params : mixed
Tags
inheritDoc

writeObjects()

protected writeObjects(mixed $items) : mixed
Parameters
$items : mixed
Tags
inheritDoc

        
On this page

Search results