Documentation

ActivityContact extends DAOEntity
in package
uses EntityBridge

ActivityContact BridgeEntity.

This connects a contact to an activity.

The record_type_id field determines the contact's role in the activity (source, target, or assignee).

Tags
ui_join_filters

record_type_id

searchable

bridge

see
Activity
since
5.19

Table of Contents

Methods

__callStatic()  : AbstractAction
Magic method to return the action object for an api.
autocomplete()  : AutocompleteAction
checkAccess()  : CheckAccessAction
create()  : DAOCreateAction
delete()  : DAODeleteAction
get()  : DAOGetAction
getActions()  : GetActions
getEntityName()  : string
Get entity name from called class
getFields()  : DAOGetFieldsAction
getInfo()  : array<string|int, mixed>
Adds "bridge" info, which should specify an array of two field names from this entity
getLinks()  : GetLinks
permissions()  : array<string|int, mixed>
Returns a list of permissions needed to access the various actions in this api.
replace()  : BasicReplaceAction
save()  : DAOSaveAction
update()  : DAOUpdateAction
getDaoName()  : CRM_Core_DAO|string|null
getEntityTitle()  : string
Overridable function to return a localized title for this entity.

Methods

getEntityName()

Get entity name from called class

public static getEntityName() : string
Return values
string

getInfo()

Adds "bridge" info, which should specify an array of two field names from this entity

public static getInfo() : array<string|int, mixed>

This automatic function can be overridden by adding a getInfo function to the api entity class.

Return values
array<string|int, mixed>
public static getLinks([bool $checkPermissions = TRUE ]) : GetLinks
Parameters
$checkPermissions : bool = TRUE
Return values
GetLinks

permissions()

Returns a list of permissions needed to access the various actions in this api.

public static permissions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getEntityTitle()

Overridable function to return a localized title for this entity.

protected static getEntityTitle([bool $plural = FALSE ]) : string
Parameters
$plural : bool = FALSE

Whether to return a plural title.

Return values
string

        
On this page

Search results