Documentation

CRM_Extension_Container_Static
in package
implements CRM_Extension_Container_Interface

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

Table of Contents

Interfaces

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

Properties

$exts  : array<string|int, mixed>

Methods

__construct()  : mixed
checkRequirements()  : mixed
Determine if any unmet requirements prevent use of this container.
getKeys()  : mixed
Get a list of extensions available in this container.
getName()  : mixed
getPath()  : mixed
Determine the main .php file for an extension
getResUrl()  : mixed
Determine the base URL for resources provided by the extension.
refresh()  : mixed
Scan the container for available extensions.
getExt()  : mixed

Properties

$exts

protected array<string|int, mixed> $exts = []

Methods

__construct()

public __construct(array<string|int, mixed> $exts) : mixed
Parameters
$exts : array<string|int, mixed>

Array(string $key => array $spec) List of extensions.

checkRequirements()

Determine if any unmet requirements prevent use of this container.

public checkRequirements() : mixed
Tags
inheritDoc

getKeys()

Get a list of extensions available in this container.

public getKeys() : mixed
Tags
inheritDoc

getName()

public getName() : mixed
Tags
inheritDoc

getPath()

Determine the main .php file for an extension

public getPath(mixed $key) : mixed
Parameters
$key : mixed

Fully-qualified extension name.

Tags
inheritDoc

getResUrl()

Determine the base URL for resources provided by the extension.

public getResUrl(mixed $key) : mixed
Parameters
$key : mixed

Fully-qualified extension name.

Tags
inheritDoc

refresh()

Scan the container for available extensions.

public refresh() : mixed
Tags
inheritDoc

        
On this page

Search results