API16

API16:JPackageManifest/ construct

From Joomla! Documentation

Revision as of 22:54, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Class constructor, overridden in descendant classes. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JPackageManifest/__construct|E...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Class constructor, overridden in descendant classes.

[Edit Descripton]

Template:Description:JPackageManifest/ construct

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);
        }
}

[Edit See Also] Template:SeeAlso:JPackageManifest/ construct

Examples

<CodeExamplesForm />