Actions

API17

Difference between revisions of "JLanguage::"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (See also: moving preparation)
 
(2 intermediate revisions by one user not shown)
Line 44: Line 44:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JLanguage::_ source code''' on [[jplatform:language/language.php#cl-268|BitBucket]]
 
* {{JVer|11.1}} '''JLanguage::_ source code''' on [[jplatform:language/language.php#cl-268|BitBucket]]
* {{JVer|11.1}} Class [[JLanguage/11.1|JLanguage]]
+
* {{JVer|11.1}} Class [[API17:JLanguage|JLanguage]]
* {{JVer|11.1}} Subpackage [[Subpackage_Language/11.1|Language]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Language|Language]]
* [[JLanguage::_|Other versions of JLanguage::_]]
+
* [[API17:JLanguage::_|Other versions of JLanguage::_]]
 
{{SeeAlso:JLanguage::_}}
 
{{SeeAlso:JLanguage::_}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 62: Line 62:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JLanguage]][[Category:JLanguage::_]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:05, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JLanguage::_

Description

Translate function, mimics the php gettext (alias _) function.

Description:JLanguage:: [Edit Descripton]

public function _ (
        $string
        $jsSafe=false
        $interpretBackSlashes=true
)
Parameter Type Default Description
$string string The string to translate
$jsSafe boolean false Make the result javascript safe
$interpretBackSlashes boolean true $interpretBackslashes Interpret and
  • Returns string The translation of the string
  • Defined on line 276 of libraries/joomla/language/language.php
  • Since Joomla 11.1

See also

SeeAlso:JLanguage:: [Edit See Also]

User contributed notes

<CodeExamplesForm />