better docs

This commit is contained in:
Alexander Makarov
2012-07-27 13:22:24 +04:00
parent ada1cedc7d
commit a144359bd0
2 changed files with 4 additions and 4 deletions

View File

@@ -51,8 +51,9 @@ class CJavaScript
* If you are encoding user input, make sure $safe is set to true.
*
* @param mixed $value PHP variable to be encoded
* @param boolean $safe If true, 'js:' will not be allowed while
* {@link CJavaScriptExpression} will allow you to pass JavaScript expressions.
* @param boolean $safe If true, 'js:' will not be allowed. In case of
* wrapping code with {@link CJavaScriptExpression} JavaScript expression
* will stay as is no matter what value this parameter is set to.
* Default is false. This parameter is available since 1.1.11.
* @return string the encoded string
*/