This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Library_Cache

Direct known subclasses

Cache

Methods summary

public static
# key( $type, $id )
public
public
# startup( )
public
public
public
public
public
# set( $type, $id, $obj, $expire = false )

Inserts or updates an item to the cache the cache must always be enabled for (getting remote data, etc..)

public
# get( $type, $id, $mustBeNewerThan = false )

Retrieves an item from the cache

public
# delete( $type, $id )

Removes an item from the cache

public
# flush( )

Completely flushes the cache