cache_api

Class cache_api
implements cache_api_interface

Known subclasses

apc_cache, apcu_cache, memcache_cache, memcached_cache, postgres_cache, smf_cache, sqlite_cache, xcache_cache, zend_cache
Abstract
Open source code
Methods Summary
public
# __construct( )
Does basic setup of a cache method when we create the object but before we call connect.

access


public
# isSupported( $test = false )
{@inheritDoc}

Implementation of

public
# connect( )
{@inheritDoc}

Implementation of

public
# setPrefix( $prefix = '' )
{@inheritDoc}

Implementation of

public
# getPrefix( )
{@inheritDoc}

Implementation of

public
# setDefaultTTL( $ttl = 120 )
{@inheritDoc}

Implementation of

public
# getDefaultTTL( )
{@inheritDoc}

Implementation of

public
# getData( $key , $ttl = NULL )
{@inheritDoc}

Implementation of

public
# putData( $key , $value , $ttl = NULL )
{@inheritDoc}

Implementation of

public
# cleanCache( $type = '' )
{@inheritDoc}

Implementation of

public
# invalidateCache( )
Invalidate all cached data.

Implementation of

public
# quit( )
{@inheritDoc}

Implementation of

public
# cacheSettings( array & $config_vars )
{@inheritDoc}

Implementation of

public
public
public
# getVersion( )
{@inheritDoc}

Implementation of

public
# housekeeping( )
{@inheritDoc}

Implementation of

Properties Summary
protected string $version_compatible
# 'SMF 2.1 RC1'
protected string $min_smf_version
# 'SMF 2.1 RC1'
protected string $prefix
# ''
protected int $ttl
# 120