MediaWiki
1.30.0
|
A wrapper class which causes Xml::encodeJsVar() and Xml::encodeJsCall() to interpret a given string as being a JavaScript expression, instead of string data. More...
Public Member Functions | |
__construct ( $value) | |
Public Attributes | |
$value | |
A wrapper class which causes Xml::encodeJsVar() and Xml::encodeJsCall() to interpret a given string as being a JavaScript expression, instead of string data.
This returns "a + b".
Definition at line 39 of file XmlJsCode.php.
XmlJsCode::__construct | ( | $value | ) |
Definition at line 42 of file XmlJsCode.php.
XmlJsCode::$value |
Definition at line 40 of file XmlJsCode.php.
Referenced by __construct().