mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-05 07:44:05 +01:00
updated doc comments in CJavaScriptExpression
missing comments + wrong comments
This commit is contained in:
@@ -18,10 +18,13 @@
|
||||
*/
|
||||
class CJavaScriptExpression
|
||||
{
|
||||
/**
|
||||
* @var string the javascript expression wrapped by this object
|
||||
*/
|
||||
public $code;
|
||||
|
||||
/**
|
||||
* @param string $code
|
||||
* @param string $code a javascript expression that is to be wrapped by this object
|
||||
*/
|
||||
public function __construct($code)
|
||||
{
|
||||
@@ -30,7 +33,7 @@ class CJavaScriptExpression
|
||||
|
||||
/**
|
||||
* String magic method
|
||||
* @return string the DB expression
|
||||
* @return string the javascript expression wrapped by this object
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user