API16

JLibraryManifest/ construct: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 37: Line 37:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=__construct
  category=__construct
  category=JLibraryManifest
  category=JLibraryManifest
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 01:53, 25 March 2017

Description

Class constructor, overridden in descendant classes.


<! removed transcluded page call, red link never existed >

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/librarymanifest.php

Importing

jimport( 'joomla.installer.librarymanifest' );

Source Body

function __construct($xmlpath='')
{
        if (strlen($xmlpath)) $this->loadManifestFromXML($xmlpath);
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples