API16

JCacheStorage/remove: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 44: Line 44:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=remove
  category=remove
  category=JCacheStorage
  category=JCacheStorage
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 01:22, 25 March 2017

Description

Remove a cached data entry by id and group


<! removed transcluded page call, red link never existed >

Syntax

remove($id, $group)
Parameter Name Default Value Description
$id $id The cache data id
$group $group The cache data group

Returns

boolean True on success, false otherwise

Defined in

libraries/joomla/cache/storage.php

Importing

jimport( 'joomla.cache.storage' );

Source Body

function remove($id, $group)
{
        return true;
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples