Overview

Packages

  • application
    • commands
    • components
      • actions
      • filters
      • leftWidget
      • permissions
      • sortableWidget
      • util
      • webupdater
      • x2flow
        • actions
        • triggers
      • X2GridView
      • X2Settings
    • controllers
    • models
      • embedded
    • modules
      • accounts
        • controllers
        • models
      • actions
        • controllers
        • models
      • calendar
        • controllers
        • models
      • charts
        • models
      • contacts
        • controllers
        • models
      • docs
        • components
        • controllers
        • models
      • groups
        • controllers
        • models
      • marketing
        • components
        • controllers
        • models
      • media
        • controllers
        • models
      • mobile
        • components
      • opportunities
        • controllers
        • models
      • products
        • controllers
        • models
      • quotes
        • controllers
        • models
      • services
        • controllers
        • models
      • template
        • models
      • users
        • controllers
        • models
      • workflow
        • controllers
        • models
      • x2Leads
        • controllers
        • models
  • Net
  • None
  • PHP
  • system
    • base
    • caching
      • dependencies
    • collections
    • console
    • db
      • ar
      • schema
        • cubrid
        • mssql
        • mysql
        • oci
        • pgsql
        • sqlite
    • i18n
      • gettext
    • logging
    • test
    • utils
    • validators
    • web
      • actions
      • auth
      • filters
      • form
      • helpers
      • renderers
      • services
      • widgets
        • captcha
        • pagers
  • Text
    • Highlighter
  • zii
    • behaviors
    • widgets
      • grid
      • jui

Classes

  • CGoogleApi
  • CHtml
  • CJavaScript
  • CJavaScriptExpression
  • CJSON
  • X2Html
  • Overview
  • Package
  • Class
  • Tree

Class CJavaScriptExpression

CJavaScriptExpression represents a JavaScript expression that does not need escaping. It can be passed to CJavaScript::encode() and the code will stay as is.

Package: system\web\helpers
Copyright: Copyright © 2012 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Alexander Makarov <sam@rmcreative.ru>
Since: 1.1.11
Located at x2engine/framework/web/helpers/CJavaScriptExpression.php
Methods summary
public
# __construct( string $code )

Parameters

$code
string
$code a javascript expression that is to be wrapped by this object

Throws

CException
if argument is not a string
public string
# __toString( )

String magic method

String magic method

Returns

string
the javascript expression wrapped by this object
Properties summary
public string $code
#

the javascript expression wrapped by this object

the javascript expression wrapped by this object

API documentation generated by ApiGen 2.8.0