API17:JSessionStorageDatabase::write
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JSessionStorageDatabase::write|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JSessionStorageDatabase::write|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function write ( |
| + | $id | ||
| + | $data | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 29: | Line 29: | ||
|string | |string | ||
| | | | ||
| − | |The session data. | + | |The session data. |
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True on success, false otherwise. | |
| − | boolean True on success, false otherwise. | + | * '''Defined''' on line 83 of libraries/joomla/session/storage/database.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/session/storage/database.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JSessionStorageDatabase::write source code''' on [[jplatform:session/storage/database.php#cl-75|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JSessionStorageDatabase/11.1|JSessionStorageDatabase]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Session/11.1|Session]] | ||
| + | * [[JSessionStorageDatabase::write|Other versions of JSessionStorageDatabase::write]] | ||
| + | {{SeeAlso:JSessionStorageDatabase::write}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JSessionStorageDatabase::write|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JSessionStorageDatabase::write|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JSessionStorageDatabase]][[Category:JSessionStorageDatabase::write]]</noinclude> | <noinclude>[[Category:JSessionStorageDatabase]][[Category:JSessionStorageDatabase::write]]</noinclude> | ||
Revision as of 21:38, 27 April 2011
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.
JSessionStorageDatabase::write
Description
Write session data to the SessionHandler backend.
Description:JSessionStorageDatabase::write [Edit Descripton]
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
See also
-
JSessionStorageDatabase::write source code on BitBucket
-
Class JSessionStorageDatabase
-
Subpackage Session
- Other versions of JSessionStorageDatabase::write
SeeAlso:JSessionStorageDatabase::write [Edit See Also]
User contributed notes
<CodeExamplesForm />
