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
  • None
  • system
    • base
    • caching
    • console
    • db
      • ar
      • schema
    • validators
    • web
      • actions
      • auth
      • helpers
      • widgets
        • captcha
        • pagers
  • zii
    • widgets
      • grid

Classes

  • X2FileCache
  • Overview
  • Package
  • Class
  • Tree

Class X2FileCache

CFileCache provides a file-based caching mechanism.

For each data value being cached, CFileCache will use store it in a separate file under CFileCache::$cachePath which defaults to 'protected/runtime/cache'. CFileCache will perform garbage collection automatically to remove expired cache files.

See CCache manual for common cache operations that are supported by CFileCache.

CComponent
Extended by CApplicationComponent implements IApplicationComponent
Extended by CCache implements ICache, ArrayAccess
Extended by CFileCache
Extended by X2FileCache
Package: system\caching
Author: Qiang Xue <qiang.xue@gmail.com>
Located at x2engine/protected/components/X2FileCache.php
Methods summary
public
# init( )

Initializes this application component. This method is required by the IApplicationComponent interface.

Initializes this application component. This method is required by the IApplicationComponent interface.

Overrides

CFileCache::init()
Methods inherited from CFileCache
addValue(), deleteValue(), flushValues(), gc(), getCacheFile(), getGCProbability(), getValue(), setGCProbability(), setValue()
Methods inherited from CCache
add(), delete(), flush(), generateUniqueKey(), get(), getValues(), mget(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), set()
Methods inherited from CApplicationComponent
getIsInitialized()
Methods inherited from CComponent
__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()
Properties inherited from CFileCache
$cacheFileMode, $cacheFileSuffix, $cachePath, $cachePathMode, $directoryLevel, $embedExpiry
Properties inherited from CCache
$hashKey, $keyPrefix, $serializer
Properties inherited from CApplicationComponent
$behaviors
Magic properties inherited from CFileCache
$gCProbability
Magic properties inherited from CApplicationComponent
$isInitialized
X2CRM Documentation API documentation generated by ApiGen 2.8.0