JCacheStorageMemcache/gc: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 30: | Line 30: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=gc | category=gc | ||
category=JCacheStorageMemcache | category=JCacheStorageMemcache | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 01:23, 25 March 2017
Description
Garbage collect expired cache data
<! removed transcluded page call, red link never existed >
Syntax
gc()
Returns
boolean True on success, false otherwise.
Defined in
libraries/joomla/cache/storage/memcache.php
Importing
jimport( 'joomla.cache.storage.memcache' );
Source Body
function gc()
{
return true;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples