interface CRM_Extension_Container_Interface

An extension container is a locally-accessible source tree which can be scanned for extensions.

Methods

checkRequirements()

Determine if any unmet requirements prevent use of this container.

getKeys()

Get a list of extensions available in this container.

getPath(string $key)

Determine the main .php file for an extension

getResUrl(string $key)

Determine the base URL for resources provided by the extension.

refresh()

Scan the container for available extensions.

Details

at line 42
checkRequirements()

Determine if any unmet requirements prevent use of this container.

at line 47
getKeys()

Get a list of extensions available in this container.

at line 55
getPath(string $key)

Determine the main .php file for an extension

Parameters

string $key Fully-qualified extension name.

at line 63
getResUrl(string $key)

Determine the base URL for resources provided by the extension.

Parameters

string $key Fully-qualified extension name.

at line 68
refresh()

Scan the container for available extensions.