JFactory::getXML
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFactory::getXML[edit]
Description[edit]
Reads a XML file.
public static function getXML (
$data
$isFile=true
)
Parameter | Type | Default | Description |
---|---|---|---|
$data | string | Full path and file name. | |
$isFile | boolean | true | false to load a string. |
- Returns mixed on success | false on error.
- Defined on line 353 of libraries/joomla/factory.php
- Referenced by
- JHelp::createSiteList
- JInstallerHelper::detectType
- JInstaller::isManifest
- JForm::load
- JForm::loadFile
- JPackageManifest::loadManifestFromXML
- JLibraryManifest::loadManifestFromXML
- JApplicationHelper::parseXMLInstallFile
- JLanguage::parseXMLLanguageFile
- JInstallerPlugin::uninstall
- JInstallerPackage::uninstall
- JInstallerLibrary::uninstall
- JInstallerFile::uninstall
See also[edit]
JFactory::getXML source code on BitBucket
Class JFactory
- Other versions of JFactory::getXML
User contributed notes[edit]
Code Examples[edit]