Difference between revisions of "JCacheStorageCachelite"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (moving preparation) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageCachelite::__construct | + | |[[API17:JCacheStorageCachelite::__construct|__construct]] |
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageCachelite::clean | + | |[[API17:JCacheStorageCachelite::clean|clean]] |
|Clean cache for a group given a mode. | |Clean cache for a group given a mode. | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageCachelite::gc | + | |[[API17:JCacheStorageCachelite::gc|gc]] |
|Garbage collect expired cache data. | |Garbage collect expired cache data. | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageCachelite::get | + | |[[API17:JCacheStorageCachelite::get|get]] |
|Get cached data from a file by id and group. | |Get cached data from a file by id and group. | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageCachelite::getAll | + | |[[API17:JCacheStorageCachelite::getAll|getAll]] |
|Get all cached data. | |Get all cached data. | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageCachelite::remove | + | |[[API17:JCacheStorageCachelite::remove|remove]] |
|Remove a cached data file by id and group. | |Remove a cached data file by id and group. | ||
|- | |- | ||
|public | |public | ||
− | |[[JCacheStorageCachelite::store | + | |[[API17:JCacheStorageCachelite::store|store]] |
|Store the data to a file by id and group. | |Store the data to a file by id and group. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JCacheStorageCachelite::test | + | |[[API17:JCacheStorageCachelite::test|test]] |
|Test to see if the cache storage is available. | |Test to see if the cache storage is available. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/cache/storage/cachelite.php | * '''Defined in''' libraries/joomla/cache/storage/cachelite.php | ||
− | * '''Extends''' [[JCacheStorage | + | * '''Extends''' [[API17:JCacheStorage|JCacheStorage]] |
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.cache.storage.cachelite' );</source> | <source lang="php">jimport( 'joomla.cache.storage.cachelite' );</source> | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JCacheStorageCachelite source code''' on [[jplatform:cache/storage/cachelite.php|BitBucket]] | * {{JVer|11.1}} '''JCacheStorageCachelite source code''' on [[jplatform:cache/storage/cachelite.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Cache | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Cache|Cache]] |
− | * [[JCacheStorageCachelite|Other versions of JCacheStorageCachelite]] | + | * [[API17:JCacheStorageCachelite|Other versions of JCacheStorageCachelite]] |
{{SeeAlso:JCacheStorageCachelite}} | {{SeeAlso:JCacheStorageCachelite}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Line 69: | Line 69: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 19:51, 11 May 2013
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JCacheStorageCachelite[edit]
Description[edit]
Template:Description:JCacheStorageCachelite [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | clean | Clean cache for a group given a mode. |
public | gc | Garbage collect expired cache data. |
public | get | Get cached data from a file by id and group. |
public | getAll | Get all cached data. |
public | remove | Remove a cached data file by id and group. |
public | store | Store the data to a file by id and group. |
public static | test | Test to see if the cache storage is available. |
- Defined in libraries/joomla/cache/storage/cachelite.php
- Extends JCacheStorage
Importing[edit]
jimport( 'joomla.cache.storage.cachelite' );
See also[edit]
- JCacheStorageCachelite source code on BitBucket
- Subpackage Cache
- Other versions of JCacheStorageCachelite
Template:SeeAlso:JCacheStorageCachelite [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />