Actions

API17

Difference between revisions of "JCacheStorageFile::store"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JCacheStorageFile::store|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JCacheStorageFile::store|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JCacheStorageFile->store ($id, $group, $data)
+
public function store (
 +
        $id
 +
        $group
 +
        $data
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 37: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success, false otherwise
boolean True on success, false otherwise
+
* '''Defined''' on line 108 of libraries/joomla/cache/storage/file.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/cache/storage/file.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JCacheStorageFile::store source code''' on [[jplatform:cache/storage/file.php#cl-100|BitBucket]]
 +
* {{JVer|11.1}} Class [[JCacheStorageFile/11.1|JCacheStorageFile]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Cache/11.1|Cache]]
 +
* [[JCacheStorageFile::store|Other versions of JCacheStorageFile::store]]
 +
{{SeeAlso:JCacheStorageFile::store}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageFile::store|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageFile::store|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JCacheStorageFile/11.1|JCacheStorageFile]]
+
===User contributed notes===
* [[JCacheStorageFile::store|Other versions of this method]]
+
{{SeeAlso:JCacheStorageFile::store}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 57: Line 58:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JCacheStorageFile]][[Category:JCacheStorageFile::store]]</noinclude>
 
<noinclude>[[Category:JCacheStorageFile]][[Category:JCacheStorageFile::store]]</noinclude>

Revision as of 19:18, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JCacheStorageFile::store

Description

Store the data to a file by id and group.

Description:JCacheStorageFile::store [Edit Descripton]

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 Joomla 11.1

See also

SeeAlso:JCacheStorageFile::store [Edit See Also]

User contributed notes

<CodeExamplesForm />