TJavaScriptLiteral class that encloses string literals that are not supposed to be escaped by TJavaScript::encode()
Since Prado 3.2 all the data that gets sent clientside inside a javascript statement is encoded by default to avoid any kind of injection. Sometimes there's the need to bypass this encoding and send raw javascript code. To ensure that a string doesn't get encoded by TJavaScript::encode(), construct a new TJavaScriptLiteral:
Located in /TComponent.php (line 1003)
Class | Description |
---|---|
TJavaScriptString | TJavaScriptString class is an internal class that marks strings that will be forcibly encoded when rendered inside a javascript block |
Documentation generated on Mon, 25 Jun 2012 14:37:37 +0200 by phpDocumentor 1.4.3