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}} | ||
<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}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 14:53, 24 March 2017
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

See also
JCacheStorageFile::store source code on BitBucket
Class JCacheStorageFile
Subpackage Cache- Other versions of JCacheStorageFile::store
{{subst:SeeAlso:JCacheStorageFile::store}}
User contributed notes
<CodeExamplesForm />