API17:JCacheController::store
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JCacheController::store|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JCacheController::store|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function store ( |
| + | $data | ||
| + | $id | ||
| + | $group=null | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 37: | Line 38: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True if cache was stored | |
| − | boolean True if cache was stored | + | * '''Defined''' on line 179 of libraries/joomla/cache/controller.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/cache/controller.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JCacheController::store source code''' on [[jplatform:cache/controller.php#cl-171|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JCacheController/11.1|JCacheController]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]] | ||
| + | * [[JCacheController::store|Other versions of JCacheController::store]] | ||
| + | {{SeeAlso:JCacheController::store}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JCacheController::store|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JCacheController::store|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 57: | Line 58: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JCacheController]][[Category:JCacheController::store]]</noinclude> | <noinclude>[[Category:JCacheController]][[Category:JCacheController::store]]</noinclude> | ||
Revision as of 20:15, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JCacheController::store
Description
Store data to cache by id and group.
Description:JCacheController::store [Edit Descripton]
public function store ( $data $id $group=null )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $data | string | $id The cache data id | |
| $id | string | $group The cache data group | |
| $group | mixed | null | $data The data to store |
- Returns boolean True if cache was stored
- Defined on line 179 of libraries/joomla/cache/controller.php
- Since
See also
-
JCacheController::store source code on BitBucket
-
Class JCacheController
-
Subpackage Cache
- Other versions of JCacheController::store
SeeAlso:JCacheController::store [Edit See Also]
User contributed notes
<CodeExamplesForm />
