JCache/11.1/ja
出典: Joomla! ドキュメンテーション
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | _getStorage | Get the cache storage handler. |
| public | clean | Clean cache for a group given a mode. |
| public | gc | Garbage collect expired cache data. |
| public | get | Get cached data by id and group. |
| public | getAll | Get a list of all cached data. |
| public | getCaching | Get caching state. |
| public | lock | Set lock flag on cached item. |
| public | remove | Remove a cached data entry by id and group. |
| public | setCaching | Set caching enabled state. |
| public | setLifeTime | Set cache lifetime. |
| public | store | Store the cached data by id and group. |
| public | unlock | Unset lock flag on cached item. |
| public static | addIncludePath | Add a directory where should search for handlers. |
| public static | getInstance | Returns a reference to a cache adapter object, always creating it. |
| public static | getStores | Get the storage handlers. |
| public static | getWorkarounds | Perform workarounds on retrieved cached data. |
| public static | makeId | Create safe id for cached data from url parameters set by plugins and framework. |
| public static | setWorkarounds | Create workarounded data to be cached. |
- Defined in libraries/joomla/cache/cache.php
- Extends JObject
Importing
jimport( 'joomla.cache.cache' );
See also
JCache source code on BitBucket
Subpackage Cache
User contributed notes
<CodeExamplesForm />
%DPL-1.7.6-ERROR: Wrong '$0' parameter: 'namespace'! Help: $0= empty string (Main).
