CRM_Extension_Info
class CRM_Extension_Info
Metadata for an extension (e.g. the extension's "info.xml" file)
Constants
FILENAME |
Extension info file name. |
Properties
string | $key | ||
$type | |||
$name | |||
$label | |||
$file | |||
array | $classloader | ||
array | $requires |
Methods
static CRM_Extension_Info
loadFromFile($file)
Load extension info an XML file.
static CRM_Extension_Info
loadFromString(string $string)
Load extension info a string.
static array
buildReverseMap(array $infos)
Build a reverse-dependency map.
__construct(null $key = NULL, null $type = NULL, null $name = NULL, null $label = NULL, null $file = NULL)
No description
array
filterRequirements(SimpleXMLElement $requirements)
Filter out invalid requirements, e.g. extensions that have been moved to core.
Details
at line 71
static CRM_Extension_Info
loadFromFile($file)
Load extension info an XML file.
at line 91
static CRM_Extension_Info
loadFromString(string $string)
Load extension info a string.
at line 113
static array
buildReverseMap(array $infos)
Build a reverse-dependency map.
at line 130
__construct(null $key = NULL, null $type = NULL, null $name = NULL, null $label = NULL, null $file = NULL)
at line 143
parse(SimpleXMLElement $info)
Copy attributes from an XML document to $this
at line 189
array
filterRequirements(SimpleXMLElement $requirements)
Filter out invalid requirements, e.g. extensions that have been moved to core.