JLanguage::parseXMLLanguageFile: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Parse XML file for language information. | Parse XML file for language information. | ||
<source lang="php"> | <source lang="php"> | ||
public static | public static function parseXMLLanguageFile ($path) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 24: | Line 19: | ||
|string | |string | ||
| | | | ||
|Path to the xml files | |Path to the xml files | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' array Array holding the found metadata as a key => value pair | |||
array Array holding the found metadata as a key => value pair | * '''Defined''' on line 1199 of libraries/joomla/language/language.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/language/language.php | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JLanguage::parseXMLLanguageFile source code''' on [[jplatform:language/language.php#cl-1191|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]] | |||
* | * [[API17:JLanguage::parseXMLLanguageFile|Other versions of JLanguage::parseXMLLanguageFile]] | ||
* [[JLanguage::parseXMLLanguageFile|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JLanguage::parseXMLLanguageFile | category=JLanguage::parseXMLLanguageFile | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:22, 25 March 2017
JLanguage::parseXMLLanguageFile
Description
Parse XML file for language information.
public static function parseXMLLanguageFile ($path)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | string | Path to the xml files |
- Returns array Array holding the found metadata as a key => value pair
- Defined on line 1199 of libraries/joomla/language/language.php
- Since

See also
JLanguage::parseXMLLanguageFile source code on BitBucket
Class JLanguage
Subpackage Language- Other versions of JLanguage::parseXMLLanguageFile
User contributed notes
Code Examples