API16

JCacheStorageMemcache/gc: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Garbage collect expired cache data <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowik...
 
m preparing for archive only
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Garbage collect expired cache data
Garbage collect expired cache data


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JCacheStorageMemcache/gc|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JCacheStorageMemcache/gc}}
 
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 28: Line 26:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageMemcache/gc|Edit See Also]]<nowiki>]</nowiki>
<! removed transcluded page call, red link never existed >
</span>
{{SeeAlso:JCacheStorageMemcache/gc}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=gc
  category=gc
  category=JCacheStorageMemcache
  category=JCacheStorageMemcache
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API16]]

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