Actions

API16

JPackageManifest/ construct

From Joomla! Documentation

< API16:JPackageManifest
Revision as of 17:54, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Class constructor, overridden in descendant classes.

[Edit Descripton]

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] SeeAlso:JPackageManifest/ construct

Examples

<CodeExamplesForm />