API17

JCacheStorageFile::store: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
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.  


{{Description:JCacheStorageFile::store}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JCacheStorageFile::store|Edit Descripton]]<nowiki>]</nowiki>
</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 36:
|-
|-
|}
|}
===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 (line 108)
* see source code in [[jplatform:cache/storage/file.php#cl-108|BitBucket]]
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JCacheStorageFile::store source code''' on [[jplatform:cache/storage/file.php#cl-100|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JCacheStorageFile::store|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JCacheStorageFile|JCacheStorageFile]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Cache|Cache]]
* [[JCacheStorageFile/11.1|JCacheStorageFile]]
* [[API17:JCacheStorageFile::store|Other versions of JCacheStorageFile::store]]
* [[JCacheStorageFile::store|Other versions of this method]]
 
{{SeeAlso:JCacheStorageFile::store}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JCacheStorageFile::store
category=JCacheStorageFile::store
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JCacheStorageFile]][[Category:JCacheStorageFile::store]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:27, 25 March 2017

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

See also


User contributed notes

Code Examples