Documentation

CRM_Extension_Manager_Report extends CRM_Extension_Manager_Base
in package

This class stores logic for managing CiviCRM extensions.

Tags
copyright

CiviCRM LLC https://civicrm.org/licensing

Table of Contents

Constants

REPORT_GROUP_NAME  = 'report_template'

Properties

$autoReplace  : bool
Whether to automatically uninstall and install during 'replace'.

Methods

__construct()  : mixed
CRM_Extension_Manager_Report constructor.
getCustomReportsById()  : array<string|int, mixed>
getCustomReportsByName()  : array<string|int, mixed>
getGroupId()  : mixed
onPostDisable()  : mixed
Perform type-specific removal logic (after updating the extension row in the "civicrm_extension" table).
onPostEnable()  : mixed
onPostInstall()  : mixed
Perform type-specific installation logic (after marking the extension as installed but before clearing the caches).
onPostPostInstall()  : mixed
Perform type-specific installation logic (after marking the extension as installed and clearing the caches).
onPostReplace()  : mixed
onPostUninstall()  : mixed
Perform type-specific removal logic (after removing the extension row in the "civicrm_extension" table).
onPreDisable()  : mixed
Perform type-specific removal logic (before updating the extension row in the "civicrm_extension" table).
onPreEnable()  : mixed
onPreInstall()  : void
Perform type-specific installation logic (before marking the extension as installed or clearing the caches).
onPreReplace()  : mixed
onPreUninstall()  : bool
Perform type-specific removal logic (before removing the extension row in the "civicrm_extension" table).

Constants

REPORT_GROUP_NAME

public mixed REPORT_GROUP_NAME = 'report_template'

Properties

$autoReplace

Whether to automatically uninstall and install during 'replace'.

public bool $autoReplace

Methods

__construct()

CRM_Extension_Manager_Report constructor.

public __construct() : mixed

getCustomReportsById()

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

getCustomReportsByName()

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

getGroupId()

public getGroupId() : mixed

onPostDisable()

Perform type-specific removal logic (after updating the extension row in the "civicrm_extension" table).

public onPostDisable(CRM_Extension_Info $info) : mixed
Parameters
$info : CRM_Extension_Info
Tags
inheritDoc

onPostInstall()

Perform type-specific installation logic (after marking the extension as installed but before clearing the caches).

public onPostInstall(CRM_Extension_Info $info) : mixed
Parameters
$info : CRM_Extension_Info
Tags
inheritDoc

onPostPostInstall()

Perform type-specific installation logic (after marking the extension as installed and clearing the caches).

public onPostPostInstall(CRM_Extension_Info $info) : mixed
Parameters
$info : CRM_Extension_Info
Tags
inheritDoc

onPostUninstall()

Perform type-specific removal logic (after removing the extension row in the "civicrm_extension" table).

public onPostUninstall(CRM_Extension_Info $info) : mixed
Parameters
$info : CRM_Extension_Info
Tags
inheritDoc

onPreDisable()

Perform type-specific removal logic (before updating the extension row in the "civicrm_extension" table).

public onPreDisable(CRM_Extension_Info $info) : mixed
Parameters
$info : CRM_Extension_Info

onPreUninstall()

Perform type-specific removal logic (before removing the extension row in the "civicrm_extension" table).

public onPreUninstall(CRM_Extension_Info $info) : bool
Parameters
$info : CRM_Extension_Info
Return values
bool

        
On this page

Search results