Documentation

Yii_CJavaScriptExpression
in package

CJavaScriptExpression represents a JavaScript expression that does not need escaping.

It can be passed to and the code will stay as is.

Tags
author

Alexander Makarov sam@rmcreative.ru

since
1.1.11

Table of Contents

Properties

$code  : string

Methods

__construct()  : mixed
__toString()  : string
String magic method

Properties

Methods

__construct()

public __construct(string $code) : mixed
Parameters
$code : string

a javascript expression that is to be wrapped by this object

Tags
throws
CException

if argument is not a string

__toString()

String magic method

public __toString() : string
Return values
string

the javascript expression wrapped by this object


        
On this page

Search results