JCacheStorageFile::store: Difference between revisions
From Joomla! Documentation
Layout updates |
m preparing for archive only |
||
| (5 intermediate revisions by 2 users not shown) | |||
| 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"> | ||
public | public function store ( | ||
$id | |||
$group | |||
$data | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 37: | Line 36: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' boolean True on success, false otherwise | |||
boolean True on success, false otherwise | * '''Defined''' on line 108 of libraries/joomla/cache/storage/file.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/cache/storage/file.php | |||
* | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JCacheStorageFile::store source code''' on [[jplatform:cache/storage/file.php#cl-100|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JCacheStorageFile|JCacheStorageFile]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]] | |||
* | * [[API17:JCacheStorageFile::store|Other versions of JCacheStorageFile::store]] | ||
* [[JCacheStorageFile::store|Other versions of | |||
===Examples=== | ===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=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
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