Documentation

CRM_Case_ManagedEntities
in package

Class CRM_Case_ManagedEntities

Table of Contents

Methods

createManagedActivityTypes()  : array<string|int, mixed>
Get a list of managed activity-types by searching CiviCase XML files.
createManagedCaseTypes()  : array<string|int, mixed>
Get a list of managed-entities representing auto-generated case-types using hook_civicrm_caseTypes.
createManagedRelationshipTypes()  : array<string|int, mixed>
Get a list of managed relationship-types by searching CiviCase XML files.
getManagedEntity()  : array<string|int, mixed>|null
Read a managed entity using APIv3.

Methods

createManagedActivityTypes()

Get a list of managed activity-types by searching CiviCase XML files.

public static createManagedActivityTypes(CRM_Case_XMLRepository $xmlRepo) : array<string|int, mixed>
Parameters
$xmlRepo : CRM_Case_XMLRepository
Tags
see
CRM_Utils_Hook::managed
Return values
array<string|int, mixed>

createManagedCaseTypes()

Get a list of managed-entities representing auto-generated case-types using hook_civicrm_caseTypes.

public static createManagedCaseTypes() : array<string|int, mixed>
Tags
see
CRM_Utils_Hook::managed
throws
CRM_Core_Exception
Return values
array<string|int, mixed>

createManagedRelationshipTypes()

Get a list of managed relationship-types by searching CiviCase XML files.

public static createManagedRelationshipTypes(CRM_Case_XMLRepository $xmlRepo) : array<string|int, mixed>
Parameters
$xmlRepo : CRM_Case_XMLRepository
Tags
see
CRM_Utils_Hook::managed
Return values
array<string|int, mixed>

getManagedEntity()

Read a managed entity using APIv3.

private static getManagedEntity(string $moduleName, string $managedName) : array<string|int, mixed>|null
Parameters
$moduleName : string

The name of the module which declared entity.

$managedName : string

The symbolic name of the entity.

Return values
array<string|int, mixed>|null

API representation, or NULL if the entity does not exist


        
On this page

Search results