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 JText::script


Translate a string into the current language and stores it in the JavaScript language store.


public static function script (
Parameter Type Default Description
$string string null The key.
$jsSafe false
$interpretBackSlashes true

See also

  • Joomla 11.1 JText::script source code on BitBucket
  • Joomla 11.1 Class JText
  • Other versions of JText::script


User contributed notes

<CodeExamplesForm />