API17

Difference between revisions of "JCache::remove"

From Joomla! Documentation

m (→‎User contributed notes: moving preparation)
m (preparing for archive only)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Remove a cached data entry by id and group.  
 
Remove a cached data entry by id and group.  
  
{{Description:JCache::remove}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JCache::remove|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function remove (
 
public function remove (
Line 37: Line 35:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JCache::remove source code''' on [[jplatform:cache/cache.php#cl-212|BitBucket]]
 
* {{JVer|11.1}} '''JCache::remove source code''' on [[jplatform:cache/cache.php#cl-212|BitBucket]]
* {{JVer|11.1}} Class [[JCache/11.1|JCache]]
+
* {{JVer|11.1}} Class [[API17:JCache|JCache]]
* {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* [[JCache::remove|Other versions of JCache::remove]]
+
* [[API17:JCache::remove|Other versions of JCache::remove]]
{{SeeAlso:JCache::remove}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JCache::remove|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JCache::remove
 
category=JCache::remove
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*

Latest revision as of 21:24, 24 March 2017

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.

Joomla 11.1 JCache::remove[edit]

Description[edit]

Remove a cached data entry by id and group.


public function remove (
        $id
        $group=null
)
Parameter Type Default Description
$id string The cache data id
$group string null The cache data group
  • Returns boolean True on success, false otherwise
  • Defined on line 220 of libraries/joomla/cache/cache.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]