Since: 3.1

abstract class Manifest

Joomla! Package Manifest File

Properties

array Since: 4.3.0
$_errors

The error messages

string Since: 3.1
$manifest_file

Path to the manifest file

string Since: 3.1
$name

Name of the extension

string Since: 3.1
$version

Version of the extension

string Since: 3.1
$description

Description of the extension

string Since: 3.1
$packager

Packager of the extension

string Since: 3.1
$packagerurl

Packager's URL of the extension

string Since: 3.1
$update

Update site for the extension

array Since: 3.1
$filelist

List of files in the extension

Methods

__construct(string $xmlpath = '')

Constructor

bool
loadManifestFromXml(string $xmlfile)

Load a manifest from a file

void
loadManifestFromData(SimpleXMLElement $xml)

Apply manifest data from a \SimpleXMLElement to the object.

Details

__construct(string $xmlpath = '')

Since: 3.1

Constructor

Parameters

string $xmlpath

Path to XML manifest file.

bool loadManifestFromXml(string $xmlfile)

Since: 3.1

Load a manifest from a file

Parameters

string $xmlfile

Path to file to load

Return Value

bool

abstract protected void loadManifestFromData(SimpleXMLElement $xml)

Since: 3.1

Apply manifest data from a \SimpleXMLElement to the object.

Parameters

SimpleXMLElement $xml

Data to load

Return Value

void