API16:JPackageManifest/ construct
From Joomla! Documentation
Description
Class constructor, overridden in descendant classes.
Syntax
__construct($xmlpath='')
| Parameter Name | Default Value | Description |
|---|---|---|
| $properties | $properties Either and associative array or another object to set the initial properties of the object. |
Defined in
libraries/joomla/installer/packagemanifest.php
Importing
jimport( 'joomla.installer.packagemanifest' );
Source Body
function __construct($xmlpath='')
{
if (strlen($xmlpath)) {
$this->loadManifestFromXML($xmlpath);
}
}
Examples
Code Examples