API16

API16:JPackageManifest/ construct

From Joomla! Documentation

Revision as of 01:56, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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