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. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function _parseLanguageFiles ($dir=null) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 22: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''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 |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/language/language.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JLanguage::_parseLanguageFiles source code''' on [[jplatform:language/language.php#cl-1101|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]] | |
− | * | + | * [[API17:JLanguage::_parseLanguageFiles|Other versions of JLanguage::_parseLanguageFiles]] |
− | * [[JLanguage::_parseLanguageFiles|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JLanguage::_parseLanguageFiles | category=JLanguage::_parseLanguageFiles | ||
− | + | 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 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.
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
See also[edit]
- JLanguage::_parseLanguageFiles source code on BitBucket
- Class JLanguage
- Subpackage Language
- Other versions of JLanguage::_parseLanguageFiles
User contributed notes[edit]
Code Examples[edit]