mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-04 23:34:05 +01:00
merge from 1.0
This commit is contained in:
@@ -42,7 +42,7 @@ class CJavaScript
|
||||
* $options=array('key1'=>true,'key2'=>123,'key3'=>'value');
|
||||
* echo CJavaScript::encode($options);
|
||||
* // The following javascript code would be generated:
|
||||
* // {'key1':true,'key2':123,'key3'=>'value'}
|
||||
* // {'key1':true,'key2':123,'key3':'value'}
|
||||
* </pre>
|
||||
*
|
||||
* For highly complex data structures use {@link jsonEncode} and {@link jsonDecode}
|
||||
|
||||
Reference in New Issue
Block a user