Actions

API17

Difference between revisions of "JLanguage::"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JLanguage->_ ($string, $jsSafe=false, $interpretBackSlashes=true)
+
public JLanguage::_ ($string, $jsSafe=false, $interpretBackSlashes=true)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 41: Line 41:
 
string The translation of the string
 
string The translation of the string
 
===Defined in===
 
===Defined in===
libraries/joomla/language/language.php
+
libraries/joomla/language/language.php (line 276)
 +
* see source code in [[jplatform:language/language.php#cl-276|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:52, 23 April 2011

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]

Since

Joomla 11.1

Synopsis

public JLanguage::_ ($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 in

libraries/joomla/language/language.php (line 276)

Referenced by

See also

[Edit See Also]

SeeAlso:JLanguage::

Examples

<CodeExamplesForm />