API17

Difference between revisions of "JLanguage::parseXMLLanguageFile"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Parse XML file for language information.  
 
Parse XML file for language information.  
  
{{Description:JLanguage::parseXMLLanguageFile}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JLanguage::parseXMLLanguageFile|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JLanguage::parseXMLLanguageFile ($path)
+
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===
+
* '''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
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/language/language.php (line 1177)
 
* see source code in [[jplatform:language/language.php#cl-1177|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JLanguage::parseXMLLanguageFile source code''' on [[jplatform:language/language.php#cl-1191|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JLanguage::parseXMLLanguageFile|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]]
* [[JLanguage/11.1|JLanguage]]
+
* [[API17:JLanguage::parseXMLLanguageFile|Other versions of JLanguage::parseXMLLanguageFile]]
* [[JLanguage::parseXMLLanguageFile|Other versions of this method]]
+
 
{{SeeAlso:JLanguage::parseXMLLanguageFile}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JLanguage::parseXMLLanguageFile
 
category=JLanguage::parseXMLLanguageFile
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JLanguage]][[Category:JLanguage::parseXMLLanguageFile]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:22, 24 March 2017

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.

Joomla 11.1 JLanguage::parseXMLLanguageFile[edit]

Description[edit]

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 Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]