API17

Difference between revisions of "JLanguage:: parseLanguageFiles"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Searches for language directories within a certain base dir.  
 
Searches for language directories within a certain base dir.  
  
{{Description:JLanguage::_parseLanguageFiles}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JLanguage::_parseLanguageFiles|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JLanguage::_parseLanguageFiles ($dir=null)
+
public static function _parseLanguageFiles ($dir=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 22:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array Array holding the found languages as filename => real name pairs
array Array holding the found languages as filename => real name pairs
+
* '''Defined''' on line 1109 of libraries/joomla/language/language.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/language/language.php (line 1090)
 
* see source code in [[jplatform:language/language.php#cl-1090|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JLanguage::_parseLanguageFiles source code''' on [[jplatform:language/language.php#cl-1101|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JLanguage::_parseLanguageFiles|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::_parseLanguageFiles|Other versions of JLanguage::_parseLanguageFiles]]
* [[JLanguage::_parseLanguageFiles|Other versions of this method]]
+
 
{{SeeAlso:JLanguage::_parseLanguageFiles}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JLanguage::_parseLanguageFiles
 
category=JLanguage::_parseLanguageFiles
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JLanguage]][[Category:JLanguage::_parseLanguageFiles]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:21, 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::_parseLanguageFiles[edit]

Description[edit]

Searches for language directories within a certain base dir.


public static function _parseLanguageFiles ($dir=null)
Parameter Type Default Description
$dir string null directory of files
  • Returns array Array holding the found languages as filename => real name pairs
  • Defined on line 1109 of libraries/joomla/language/language.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]