CRM_Extension_Manager_Interface
in
The extension manager handles installing, disabling enabling, and uninstalling extensions.
Tags
Table of Contents
Methods
- 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() : mixed
- Perform type-specific installation logic (before marking the extension as installed or clearing the caches).
- onPreReplace() : mixed
- onPreUninstall() : mixed
- Perform type-specific removal logic (before removing the extension row in the "civicrm_extension" table).
Methods
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
-
May be generated from xml or DB (which is lossy).
Tags
onPostEnable()
public
onPostEnable(CRM_Extension_Info $info) : mixed
Parameters
- $info : CRM_Extension_Info
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
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
onPostReplace()
public
onPostReplace(CRM_Extension_Info $oldInfo, CRM_Extension_Info $newInfo) : mixed
Parameters
- $oldInfo : CRM_Extension_Info
- $newInfo : CRM_Extension_Info
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
-
May be generated from xml or DB (which is lossy).
Tags
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
-
May be generated from xml or DB (which is lossy).
Tags
onPreEnable()
public
onPreEnable(CRM_Extension_Info $info) : mixed
Parameters
- $info : CRM_Extension_Info
onPreInstall()
Perform type-specific installation logic (before marking the extension as installed or clearing the caches).
public
onPreInstall(CRM_Extension_Info $info) : mixed
Parameters
- $info : CRM_Extension_Info
onPreReplace()
public
onPreReplace(CRM_Extension_Info $oldInfo, CRM_Extension_Info $newInfo) : mixed
Parameters
- $oldInfo : CRM_Extension_Info
- $newInfo : 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) : mixed
Parameters
- $info : CRM_Extension_Info
-
May be generated from xml or DB (which is lossy).