API17

Difference between revisions of "JSessionStorageMemcache::write"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Write session data to the SessionHandler backend.  
 
Write session data to the SessionHandler backend.  
  
{{Description:JSessionStorageMemcache::write}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JSessionStorageMemcache::write|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JSessionStorageMemcache::write ($id, $session_data)
+
public function write (
 +
        $id
 +
        $session_data
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 27:
 
|string
 
|string
 
|
 
|
|The session data.  
+
|The session data.
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success, false otherwise.
boolean True on success, false otherwise.
+
* '''Defined''' on line 130 of libraries/joomla/session/storage/memcache.php
===Defined in===
 
libraries/joomla/session/storage/memcache.php (line 132)
 
* see source code in [[jplatform:session/storage/memcache.php#cl-132|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JSessionStorageMemcache::write source code''' on [[jplatform:session/storage/memcache.php#cl-122|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageMemcache::write|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JSessionStorageMemcache|JSessionStorageMemcache]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]]
* [[JSessionStorageMemcache/11.1|JSessionStorageMemcache]]
+
* [[API17:JSessionStorageMemcache::write|Other versions of JSessionStorageMemcache::write]]
* [[JSessionStorageMemcache::write|Other versions of this method]]
+
 
{{SeeAlso:JSessionStorageMemcache::write}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JSessionStorageMemcache::write
 
category=JSessionStorageMemcache::write
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JSessionStorageMemcache]][[Category:JSessionStorageMemcache::write]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:41, 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 JSessionStorageMemcache::write[edit]

Description[edit]

Write session data to the SessionHandler backend.


public function write (
        $id
        $session_data
)
Parameter Type Default Description
$id string The session identifier.
$session_data string The session data.
  • Returns boolean True on success, false otherwise.
  • Defined on line 130 of libraries/joomla/session/storage/memcache.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]