Overview

Packages

  • ClipIt
    • clipit
      • api
    • urjc
      • backend
  • Elgg
    • Core
      • Access
      • Authentication
      • Cache
      • Caches
      • Core
      • DataMode
        • Site
      • DataModel
        • Annotations
        • Entities
        • Extender
        • File
        • Importable
        • Loggable
        • Notable
        • Object
        • User
      • DataStorage
      • Exception
      • Exceptions
        • Stub
      • FileStore
        • Disk
      • Groups
      • Helpers
      • HMAC
      • Memcache
      • Metadata
      • Navigation
      • ODD
      • Output
      • Plugins
        • Settings
      • Sessions
      • SocialModel
        • Friendable
        • Locatable
      • WebServicesAPI
      • Widgets
      • XML
      • XMLRPC
    • Exceptions
      • Stub
  • None
  • PHP

Classes

  • ElggHMACCache
  • Overview
  • Package
  • Class
  • Tree

Class ElggHMACCache

ElggHMACCache Store cached data in a temporary database, only used by the HMAC stuff.

ElggCache implements ArrayAccess
Extended by ElggHMACCache
Package: Elgg\Core\HMAC
Located at ElggHMACCache.php
Methods summary
public
# __construct( integer $max_age = 0 )

Set the Elgg cache.

Set the Elgg cache.

Parameters

$max_age
integer
$max_age Maximum age in seconds, 0 if no limit.

Overrides

ElggCache::__construct()
public boolean
# save( string $key, string $data )

Save a key

Save a key

Parameters

$key
string
$key Name
$data
string
$data Value

Returns

boolean
public string
# load( string $key, integer $offset = 0, integer $limit = null )

Load a key

Load a key

Parameters

$key
string
$key Name
$offset
integer
$offset Offset
$limit
integer
$limit Limit

Returns

string
public boolean
# delete( string $key )

Invalidate a given key.

Invalidate a given key.

Parameters

$key
string
$key Name

Returns

boolean
public true
# clear( )

Clear out all the contents of the cache.

Clear out all the contents of the cache.

Not currently implemented in this cache type.

Returns

true
public
# __destruct( )

Clean out old stuff.

Clean out old stuff.

Methods inherited from ElggCache
__get(), __isset(), __set(), __unset(), add(), getVariable(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), setVariable()
API documentation generated by ApiGen 2.8.0