API17

JLanguage::

From Joomla! Documentation

Revision as of 16:45, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→‎User contributed notes: moving preparation)

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::_[edit]

Description[edit]

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

Template: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[edit]

Template:SeeAlso:JLanguage:: [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />