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

  • BaseDocsMassAction
  • CApplication
  • CApplicationComponent
  • CBehavior
  • CComponent
  • CEnumerable
  • CErrorEvent
  • CErrorHandler
  • CEvent
  • CExceptionEvent
  • CModel
  • CModelBehavior
  • CModelEvent
  • CModule
  • CommonFieldsBehavior
  • CSecurityManager
  • CStatePersister
  • Expression
  • MassAction
  • MassAddToList
  • MassCompleteAction
  • MassMoveFileSysObjToFolder
  • MassRemoveFromList
  • MassRenameFileSysObj
  • MassUncompleteAction
  • MobileRecentItems
  • ModulePanelItem
  • NewListFromSelection
  • PanelItem
  • QuickCRUDBehavior
  • RecentItemPanelItem
  • ServiceRoutingBehavior
  • SettingsPanelItem
  • X2AddressBehavior
  • X2AuthCache
  • X2BaseListViewBehavior

Interfaces

  • IAction
  • IApplicationComponent
  • IAuthManager
  • IBehavior
  • IFilter
  • IStatePersister
  • IUserIdentity
  • IViewRenderer
  • IWebServiceProvider
  • IWebUser

Exceptions

  • CException
  • CHttpException
  • TwitterFeedWidgetException
  • Overview
  • Package
  • Class
  • Tree

Interface IBehavior

IBehavior interfaces is implemented by all behavior classes.

A behavior is a way to enhance a component with additional methods that are defined in the behavior class and not available in the component class.

Direct known implementers

CBehavior

Indirect known implementers

ActionsQuickCreateRelationshipBehavior, ApplicationConfigBehavior, ContactsNameBehavior, ControllerPermissionsBehavior, CSaveRelationsBehavior, CTimestampBehavior, EmailDeliveryBehavior, EncryptedFieldsBehavior, ERememberFiltersBehavior, FileFieldBehavior, FileSystemObjectBehavior, GridViewDbSettingsBehavior, AssociatedMediaBehavior, GridViewSessionSettingsBehavior, ImportExportBehavior, InlineEmailModelBehavior, JSONEmbeddedModelFieldsBehavior, JSONFieldsBehavior, JSONFieldsDefaultValuesBehavior, LeadRoutingBehavior, ModelPermissionsBehavior, NormalizedJSONFieldsBehavior, QuickCreateRelationshipBehavior, CActiveRecordBehavior, QuickCRUDBehavior, RecordLimitBehavior, RelationshipsBehavior, ResponseBehavior, SearchIndexBehavior, ServiceRoutingBehavior, SmartDataProviderBehavior, TagBehavior, TransformedFieldStorageBehavior, UpdaterBehavior, CampaignMailingBehavior, WorkflowBehavior, X2ActiveRecordBehavior, X2AddressBehavior, X2BaseListViewBehavior, X2ChangeLogBehavior, X2ControllerBehavior, X2ControllerPermissionsBehavior, X2DuplicateBehavior, X2FlowTriggerBehavior, X2GridViewSortableWidgetsBehavior, CConsoleCommandBehavior, X2LinkableBehavior, X2MergeableBehavior, X2MobileControllerBehavior, X2MobileProfileControllerBehavior, X2MobileQuotesControllerBehavior, X2MobileSiteControllerBehavior, X2MobileTopicsControllerBehavior, X2ModelConversionBehavior, X2PermissionsBehavior, X2Settings, CModelBehavior, X2SmartSearchModelBehavior, X2StaticFieldsBehavior, X2TimestampBehavior, X2TranslationBehavior, X2WidgetBehavior, CommonControllerBehavior, CommonFieldsBehavior, CommonSiteControllerBehavior
Package: system\base
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Located at x2engine/framework/base/interfaces.php
Methods summary
public
# attach( CComponent $component )

Attaches the behavior object to the component.

Attaches the behavior object to the component.

Parameters

$component
CComponent
$component the component that this behavior is to be attached to.
public
# detach( CComponent $component )

Detaches the behavior object from the component.

Detaches the behavior object from the component.

Parameters

$component
CComponent
$component the component that this behavior is to be detached from.
public boolean
# getEnabled( )

Returns

boolean
whether this behavior is enabled
public
# setEnabled( boolean $value )

Parameters

$value
boolean
$value whether this behavior is enabled
API documentation generated by ApiGen 2.8.0