API17:JCacheStorageWincache
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JCacheStorageWincache== | ||
| + | ===Description=== | ||
| + | {{Description:JCacheStorageWincache}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JCacheStorageWincache|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheStorageWincache|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageWincache::__construct/11.1|__construct]] | |[[JCacheStorageWincache::__construct/11.1|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageWincache::clean/11.1|clean]] | |[[JCacheStorageWincache::clean/11.1|clean]] | ||
|Clean cache for a group given a mode. | |Clean cache for a group given a mode. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageWincache::gc/11.1|gc]] | |[[JCacheStorageWincache::gc/11.1|gc]] | ||
|Force garbage collect expired cache data as items are removed only on get/add/delete/info etc. | |Force garbage collect expired cache data as items are removed only on get/add/delete/info etc. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageWincache::get/11.1|get]] | |[[JCacheStorageWincache::get/11.1|get]] | ||
|Get cached data from WINCACHE by id and group. | |Get cached data from WINCACHE by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageWincache::getAll/11.1|getAll]] | |[[JCacheStorageWincache::getAll/11.1|getAll]] | ||
|Get all cached data. | |Get all cached data. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageWincache::remove/11.1|remove]] | |[[JCacheStorageWincache::remove/11.1|remove]] | ||
|Remove a cached data entry by id and group. | |Remove a cached data entry by id and group. | ||
|- | |- | ||
| + | |public | ||
|[[JCacheStorageWincache::store/11.1|store]] | |[[JCacheStorageWincache::store/11.1|store]] | ||
|Store the data to WINCACHE by id and group. | |Store the data to WINCACHE by id and group. | ||
|- | |- | ||
| + | |public static | ||
|[[JCacheStorageWincache::test/11.1|test]] | |[[JCacheStorageWincache::test/11.1|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/wincache.php | ||
| + | * '''Extends''' [[JCacheStorage/11.1|JCacheStorage]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.cache.storage.wincache' );</source> | <source lang="php">jimport( 'joomla.cache.storage.wincache' );</source> | ||
===See also=== | ===See also=== | ||
| − | * [[JCacheStorageWincache|Other versions of | + | * {{JVer|11.1}} '''JCacheStorageWincache source code''' on [[jplatform:cache/storage/wincache.php|BitBucket]] |
| + | * {{JVer|11.1}} Subpackage [[Subpackage Cache/11.1|Cache]] | ||
| + | * [[JCacheStorageWincache|Other versions of JCacheStorageWincache]] | ||
{{SeeAlso:JCacheStorageWincache}} | {{SeeAlso:JCacheStorageWincache}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageWincache|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheStorageWincache|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 58: | Line 66: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCacheStorageWincache]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JCacheStorageWincache]]</noinclude> |
Revision as of 13:31, 29 August 2012
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JCacheStorageWincache
Description
Description:JCacheStorageWincache [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | clean | Clean cache for a group given a mode. |
| public | gc | Force garbage collect expired cache data as items are removed only on get/add/delete/info etc. |
| public | get | Get cached data from WINCACHE by id and group. |
| public | getAll | Get all cached data. |
| public | remove | Remove a cached data entry by id and group. |
| public | store | Store the data to WINCACHE by id and group. |
| public static | test | Test to see if the cache storage is available. |
- Defined in libraries/joomla/cache/storage/wincache.php
- Extends JCacheStorage
Importing
jimport( 'joomla.cache.storage.wincache' );
See also
-
JCacheStorageWincache source code on BitBucket
-
Subpackage Cache
- Other versions of JCacheStorageWincache
SeeAlso:JCacheStorageWincache [Edit See Also]
User contributed notes
<CodeExamplesForm />
