JCache::gc: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Garbage collect expired cache data. | Garbage collect expired cache data. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 17: | Line 17: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] | ||
* [[API17:JCache::gc|Other versions of JCache::gc]] | * [[API17:JCache::gc|Other versions of JCache::gc]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCache::gc | category=JCache::gc | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:24, 25 March 2017
JCache::gc
Description
Garbage collect expired cache data.
public function gc ()
- Returns boolean True on success, false otherwise.
- Defined on line 263 of libraries/joomla/cache/cache.php
- Since

See also
JCache::gc source code on BitBucket
Class JCache
Subpackage Cache- Other versions of JCache::gc
User contributed notes
Code Examples