CRM_Extension_System
class CRM_Extension_System
This class glues together the various parts of the extension system.
Properties
protected array | $parameters |
Methods
No description
Class constructor.
Get a container which represents all available extensions.
Get the container to which new extensions are installed.
Get the service which provides runtime information about extensions.
No description
Get the service for enabling and disabling extensions.
Get the service for finding remotely-available extensions
Get the service for loading code from remotely-available extensions
No description
Determine the URL which provides a feed of available extensions.
Returns a list keyed by extension key
Take an extension's raw XML info and add information about the extension's status on the local system.
Details
at line 71
static CRM_Extension_System
singleton(bool $fresh = FALSE)
at line 87
static
setSingleton(CRM_Extension_System $singleton)
at line 98
__construct(array $parameters = [])
Class constructor.
at line 125
CRM_Extension_Container_Interface
getFullContainer()
Get a container which represents all available extensions.
at line 176
CRM_Extension_Container_Default|FALSE
getDefaultContainer()
Get the container to which new extensions are installed.
This container should be a particular, writeable directory.
at line 193
CRM_Extension_Mapper
getMapper()
Get the service which provides runtime information about extensions.
at line 203
CRM_Extension_ClassLoader
getClassLoader()
at line 215
CRM_Extension_Manager
getManager()
Get the service for enabling and disabling extensions.
at line 233
CRM_Extension_Browser
getBrowser()
Get the service for finding remotely-available extensions
at line 249
CRM_Extension_Downloader
getDownloader()
Get the service for loading code from remotely-available extensions
at line 265
CRM_Utils_Cache_Interface
getCache()
at line 283
string|FALSE
getRepositoryUrl()
Determine the URL which provides a feed of available extensions.
at line 304
static array
getCompatibilityInfo()
Returns a list keyed by extension key
at line 311
static
isNotTestExtension(CRM_Extension_Info $info)
at line 325
static array
createExtendedInfo(CRM_Extension_Info $obj)
Take an extension's raw XML info and add information about the extension's status on the local system.
The result format resembles the old CRM_Core_Extensions_Extension.