updated doc comments in CJavaScriptExpression

missing comments + wrong comments
This commit is contained in:
Carsten Brandt
2012-08-03 17:58:44 +03:00
parent 09c6f05985
commit fad0944e33

View File

@@ -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()
{