|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| __construct ($identifier, t3lib_cache_backend_Backend $backend) | |
| getIdentifier () | |
| getBackend () | |
| has ($entryIdentifier) | |
| remove ($entryIdentifier) | |
| flush () | |
| flushByTag ($tag) | |
| flushByTags (array $tags) | |
| collectGarbage () | |
| getClassTag ($className= '') | |
| isValidEntryIdentifier ($identifier) | |
| isValidTag ($tag) | |
Protected Attributes | |
| $identifier | |
| $backend | |
Definition at line 36 of file class.t3lib_cache_frontend_abstractfrontend.php.
| t3lib_cache_frontend_AbstractFrontend::__construct | ( | $ | identifier, |
| t3lib_cache_backend_Backend $ | backend | ||
| ) |
Constructs the cache
| string | A identifier which describes this cache |
| t3lib_cache_backend_Backend | Backend to be used for this cache |
| InvalidArgumentException | if the identifier doesn't match PATTERN_ENTRYIDENTIFIER |
Reimplemented in t3lib_cache_frontend_VariableFrontend.
Definition at line 57 of file class.t3lib_cache_frontend_abstractfrontend.php.
References $backend, and $identifier.
| t3lib_cache_frontend_AbstractFrontend::collectGarbage | ( | ) |
Does garbage collection
Implements t3lib_cache_frontend_Frontend.
Definition at line 171 of file class.t3lib_cache_frontend_abstractfrontend.php.
| t3lib_cache_frontend_AbstractFrontend::flush | ( | ) |
Removes all cache entries of this cache.
Implements t3lib_cache_frontend_Frontend.
Definition at line 131 of file class.t3lib_cache_frontend_abstractfrontend.php.
| t3lib_cache_frontend_AbstractFrontend::flushByTag | ( | $ | tag | ) |
Removes all cache entries of this cache which are tagged by the specified tag.
| string | $tag | The tag the entries must have |
Implements t3lib_cache_frontend_Frontend.
Definition at line 143 of file class.t3lib_cache_frontend_abstractfrontend.php.
References isValidTag().
| t3lib_cache_frontend_AbstractFrontend::flushByTags | ( | array $ | tags | ) |
Removes all cache entries of this cache which are tagged by the specified tag.
| array | Array of tags to search for and to remove the cache entries, the "*" wildcard is supported |
Implements t3lib_cache_frontend_Frontend.
Definition at line 161 of file class.t3lib_cache_frontend_abstractfrontend.php.
| t3lib_cache_frontend_AbstractFrontend::getBackend | ( | ) |
Returns the backend used by this cache
Implements t3lib_cache_frontend_Frontend.
Definition at line 83 of file class.t3lib_cache_frontend_abstractfrontend.php.
| t3lib_cache_frontend_AbstractFrontend::getClassTag | ( | $ | className = '' | ) |
Renders a tag which can be used to mark a cache entry as "depends on this class". Whenever the specified class is modified, all cache entries tagged with the class are flushed.
If an empty string is specified as class name, the returned tag means "depends on any class".
| string | The class name |
Definition at line 187 of file class.t3lib_cache_frontend_abstractfrontend.php.
| t3lib_cache_frontend_AbstractFrontend::getIdentifier | ( | ) |
Returns this cache's identifier
Implements t3lib_cache_frontend_Frontend.
Definition at line 73 of file class.t3lib_cache_frontend_abstractfrontend.php.
| t3lib_cache_frontend_AbstractFrontend::has | ( | $ | entryIdentifier | ) |
Checks if a cache entry with the specified identifier exists.
| string | $entryIdentifier | An identifier specifying the cache entry |
Implements t3lib_cache_frontend_Frontend.
Definition at line 95 of file class.t3lib_cache_frontend_abstractfrontend.php.
References isValidEntryIdentifier().
| t3lib_cache_frontend_AbstractFrontend::isValidEntryIdentifier | ( | $ | identifier | ) |
Checks the validity of an entry identifier. Returns true if it's valid.
| string | $identifier | An identifier to be checked for validity |
Implements t3lib_cache_frontend_Frontend.
Definition at line 198 of file class.t3lib_cache_frontend_abstractfrontend.php.
References $identifier.
Referenced by t3lib_cache_frontend_StringFrontend\get(), t3lib_cache_frontend_VariableFrontend\get(), has(), remove(), t3lib_cache_frontend_StringFrontend\set(), t3lib_cache_frontend_PhpFrontend\set(), and t3lib_cache_frontend_VariableFrontend\set().
| t3lib_cache_frontend_AbstractFrontend::isValidTag | ( | $ | tag | ) |
Checks the validity of a tag. Returns true if it's valid.
| string | $tag | An identifier to be checked for validity |
Implements t3lib_cache_frontend_Frontend.
Definition at line 209 of file class.t3lib_cache_frontend_abstractfrontend.php.
Referenced by flushByTag(), t3lib_cache_frontend_StringFrontend\getByTag(), t3lib_cache_frontend_VariableFrontend\getByTag(), t3lib_cache_frontend_StringFrontend\set(), t3lib_cache_frontend_PhpFrontend\set(), and t3lib_cache_frontend_VariableFrontend\set().
| t3lib_cache_frontend_AbstractFrontend::remove | ( | $ | entryIdentifier | ) |
Removes the given cache entry from the cache.
| string | $entryIdentifier | An identifier specifying the cache entry |
Implements t3lib_cache_frontend_Frontend.
Definition at line 114 of file class.t3lib_cache_frontend_abstractfrontend.php.
References isValidEntryIdentifier().
t3lib_cache_frontend_AbstractFrontend::$backend [protected] |
Definition at line 46 of file class.t3lib_cache_frontend_abstractfrontend.php.
Referenced by __construct().
t3lib_cache_frontend_AbstractFrontend::$identifier [protected] |
Definition at line 41 of file class.t3lib_cache_frontend_abstractfrontend.php.
Referenced by t3lib_cache_frontend_PhpFrontend\__construct(), t3lib_cache_frontend_VariableFrontend\__construct(), __construct(), t3lib_cache_frontend_StringFrontend\getByTag(), t3lib_cache_frontend_VariableFrontend\getByTag(), and isValidEntryIdentifier().
1.7.5.1