Back to Manifest class

Method __construct

public
__construct
(mixed $xmlpath = '')
Constructor
Parameters
  • string $xmlpath Path to XML manifest file.
Since
  • 3.1
Class: Manifest
Project: Joomla

Method __construct - Source code

/**
 * Constructor
 *
 * @param   string  $xmlpath  Path to XML manifest file.
 *
 * @since   3.1
 */
public function __construct($xmlpath = '')
{
    if ($xmlpath !== '') {
        $this->loadManifestFromXml($xmlpath);
    }
}