Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.3. API definition

class tx_enetcache

This singleton class can be used in FE, BE, by eID controllers and even by scheduler tasks. Usually called by t3lib_div::makeInstance('tx_enetcache')->method();

Method

Description

get(array $identifier)

Get an entry with given identifier from cache. Returns either data entry, or FALSE on cache miss.

set(array $identifier, $data, array $tags, $lifetime)

Set an entry in enetcache.

drop(array $tags)

Drop all cache entries in page cache and enet cache tagged with one of the tags in array.

flush()

Delete enet cache entries. This is rarely used, page cache is not flushed!