|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| __construct ($identifier, t3lib_cache_backend_Backend $backend) | |
| set ($entryIdentifier, $variable, $tags=array(), $lifetime=NULL) | |
| get ($entryIdentifier) | |
| getByTag ($tag) | |
Protected Member Functions | |
| initializeObject () | |
Protected Attributes | |
| $useIgBinary = FALSE | |
Definition at line 36 of file class.t3lib_cache_frontend_variablefrontend.php.
| t3lib_cache_frontend_VariableFrontend::__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 from t3lib_cache_frontend_AbstractFrontend.
Definition at line 54 of file class.t3lib_cache_frontend_variablefrontend.php.
References t3lib_cache_frontend_AbstractFrontend\$identifier, and initializeObject().
| t3lib_cache_frontend_VariableFrontend::get | ( | $ | entryIdentifier | ) |
Loads a variable value from the cache.
| string | Identifier of the cache entry to fetch |
| t3lib_cache_exception_ClassAlreadyLoaded | if the class already exists |
Implements t3lib_cache_frontend_Frontend.
Definition at line 113 of file class.t3lib_cache_frontend_variablefrontend.php.
References t3lib_cache_frontend_AbstractFrontend\isValidEntryIdentifier().
| t3lib_cache_frontend_VariableFrontend::getByTag | ( | $ | tag | ) |
Finds and returns all cache entries which are tagged by the specified tag.
| string | $tag | The tag to search for |
Implements t3lib_cache_frontend_Frontend.
Definition at line 131 of file class.t3lib_cache_frontend_variablefrontend.php.
References t3lib_cache_frontend_AbstractFrontend\$identifier, and t3lib_cache_frontend_AbstractFrontend\isValidTag().
| t3lib_cache_frontend_VariableFrontend::initializeObject | ( | ) | [protected] |
Initializes this cache frontend
Definition at line 65 of file class.t3lib_cache_frontend_variablefrontend.php.
Referenced by __construct().
| t3lib_cache_frontend_VariableFrontend::set | ( | $ | entryIdentifier, |
| $ | variable, | ||
| $ | tags = array(), |
||
| $ | lifetime = NULL |
||
| ) |
Saves the value of a PHP variable in the cache. Note that the variable will be serialized if necessary.
| string | $entryIdentifier | An identifier used for this cache entry |
| mixed | $variable | The variable to cache |
| array | $tags | Tags to associate with this cache entry |
| integer | $lifetime | Lifetime of this cache entry in seconds. If NULL is specified, the default lifetime is used. "0" means unlimited liftime. |
Implements t3lib_cache_frontend_Frontend.
Definition at line 81 of file class.t3lib_cache_frontend_variablefrontend.php.
References t3lib_cache_frontend_AbstractFrontend\isValidEntryIdentifier(), and t3lib_cache_frontend_AbstractFrontend\isValidTag().
t3lib_cache_frontend_VariableFrontend::$useIgBinary = FALSE [protected] |
Definition at line 43 of file class.t3lib_cache_frontend_variablefrontend.php.
1.7.5.1