API17

JCacheStorageFile::store: Difference between revisions

From Joomla! Documentation

m See also: moving preparation
m clean up
Line 4: Line 4:
Store the data to a file by id and group.  
Store the data to a file by id and group.  


{{Description:JCacheStorageFile::store}}
{{subst:Description:JCacheStorageFile::store}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheStorageFile::store|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function store (
public function store (
Line 46: Line 44:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* [[API17:JCacheStorageFile::store|Other versions of JCacheStorageFile::store]]
* [[API17:JCacheStorageFile::store|Other versions of JCacheStorageFile::store]]
{{SeeAlso:JCacheStorageFile::store}}
{{subst:SeeAlso:JCacheStorageFile::store}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageFile::store|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 14:53, 24 March 2017

Joomla 11.1 JCacheStorageFile::store

Description

Store the data to a file by id and group.

{{subst:Description:JCacheStorageFile::store}}

public function store (
        $id
        $group
        $data
)
Parameter Type Default Description
$id string The cache data id
$group string The cache data group
$data string The data to store in cache
  • Returns boolean True on success, false otherwise
  • Defined on line 108 of libraries/joomla/cache/storage/file.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JCacheStorageFile::store}}

User contributed notes

<CodeExamplesForm />