API17

JSessionStorageDatabase::write: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 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:JSessionStorageDatabase::write}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JSessionStorageDatabase::write|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JSessionStorageDatabase->write ($id, $data)
public function write (
        $id
        $data
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 29: 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 83 of libraries/joomla/session/storage/database.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/session/storage/database.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JSessionStorageDatabase::write source code''' on [[jplatform:session/storage/database.php#cl-75|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageDatabase::write|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JSessionStorageDatabase|JSessionStorageDatabase]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Session|Session]]
* [[JSessionStorageDatabase/11.1|JSessionStorageDatabase]]
* [[API17:JSessionStorageDatabase::write|Other versions of JSessionStorageDatabase::write]]
* [[JSessionStorageDatabase::write|Other versions of this method]]
 
{{SeeAlso:JSessionStorageDatabase::write}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JSessionStorageDatabase::write
category=JSessionStorageDatabase::write
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JSessionStorageDatabase]][[Category:JSessionStorageDatabase::write]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:40, 25 March 2017

Joomla 11.1 JSessionStorageDatabase::write

Description

Write session data to the SessionHandler backend.


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

See also


User contributed notes

Code Examples