SproutCMS

This is the code documentation for the SproutCMS project

interface CacheDriver

Cache driver interface.

Implemented by

public find

void find ( mixed $tag );

Find all of the cache ids for a given tag.

public get

void get ( mixed $id );

Get a cache item.
Return NULL if the cache item is not found.

public delete

void delete ( mixed $id [, mixed $tag ] );

Delete cache items by id or tag.

public deleteExpired

void deleteExpired ( );

Deletes all expired cache items.

public set

void set ( mixed $id , mixed $data [, array $tags , mixed $lifetime ] );

Set a cache item.