Documentation

DashboardContact extends DAOEntity
in package
uses EntityBridge

DashboardContact entity.

This places a dashboard item on a user's home screen.

Tags
searchable

bridge

searchable

none

see
Dashboard
since
5.25

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