From Joomla! Documentation

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 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

Code Examples