API17

Difference between revisions of "JCache::store"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Store the cached data by id and group.  
 
Store the cached data by id and group.  
  
{{Description:JCache::store}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JCache::store|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JCache::store ($data, $id, $group=null)
+
public function store (
 +
        $data
 +
        $id
 +
        $group=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 37: Line 36:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True if cache stored
boolean True if cache stored
+
* '''Defined''' on line 198 of libraries/joomla/cache/cache.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/cache/cache.php (line 198)
 
* see source code in [[jplatform:cache/cache.php#cl-198|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JCache::store source code''' on [[jplatform:cache/cache.php#cl-190|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JCache::store|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JCache|JCache]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* [[JCache/11.1|JCache]]
+
* [[API17:JCache::store|Other versions of JCache::store]]
* [[JCache::store|Other versions of this method]]
+
 
{{SeeAlso:JCache::store}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JCache::store
 
category=JCache::store
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JCache]][[Category:JCache::store]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:24, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JCache::store[edit]

Description[edit]

Store the cached data by id and group.


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 stored
  • Defined on line 198 of libraries/joomla/cache/cache.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]