JCacheStorageFile::store: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Store the data to a file by id and group. | Store the data to a file by id and group. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 44: | 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]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JCacheStorageFile::store | category=JCacheStorageFile::store | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:27, 25 March 2017
JCacheStorageFile::store
Description
Store the data to a file by id and group.
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
User contributed notes
Code Examples