API16

JCacheStorage/store: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Store the data to cache by id and group <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:
Store the data to cache by id and group
Store the data to cache by id and group


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


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


===Syntax===
===Syntax===
Line 46: Line 44:
</source>
</source>


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


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

Latest revision as of 01:22, 25 March 2017

Description

Store the data to cache by id and group


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

Syntax

store($id, $group, $data)
Parameter Name Default Value Description
$id $id The cache data id
$group $group The cache data group
$data $data The data to store in cache

Returns

boolean True on success, false otherwise

Defined in

libraries/joomla/cache/storage.php

Importing

jimport( 'joomla.cache.storage' );

Source Body

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


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

Examples

Code Examples