JText::script
Translate a string into the current language and stores it in the JavaScript language store.
Signature
public function script([string
$string = null,
[boolean
$jsSafe = false,
[boolean
$interpretBackSlashes = true]]] )
Parameters
-
$string
- The JText key.
-
$jsSafe
- Ensure the output is JavaScript safe.
-
$interpretBackSlashes
- Interpret \t and \n.
Returns
- string