This commit is contained in:
cuiliang
2016-06-11 19:49:57 +08:00
2065 changed files with 88639 additions and 74804 deletions

View File

@@ -12,11 +12,15 @@ use yii\base\Object;
/**
* JsExpression marks a string as a JavaScript expression.
*
<<<<<<< HEAD
<<<<<<< HEAD
* When using [[\yii\helpers\Json::encode()]] to encode a value, JsonExpression objects
=======
* When using [[\yii\helpers\Json::encode()]] or [[\yii\helpers\Json::htmlEncode()]] to encode a value, JsonExpression objects
>>>>>>> yiichina/master
=======
* When using [[\yii\helpers\Json::encode()]] or [[\yii\helpers\Json::htmlEncode()]] to encode a value, JsonExpression objects
>>>>>>> master
* will be specially handled and encoded as a JavaScript expression instead of a string.
*
* @author Qiang Xue <qiang.xue@gmail.com>