reference/session/sessionhandler/write.xml
601f6f4ce5827d441a7e110184708f0abe9fd447
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="sessionhandler.write" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>SessionHandler::write</refname>
...
...
@@ -9,10 +8,10 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="SessionHandler">
13
12
<modifier>public</modifier> <type>bool</type><methodname>SessionHandler::write</methodname>
14
-
<methodparam><type>string</type><parameter>session_id</parameter></methodparam>
15
-
<methodparam><type>string</type><parameter>session_data</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>id</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>data</parameter></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
Writes the session data to the session storage. Called by normal PHP shutdown, by
...
...
@@ -25,7 +24,7 @@
25
24
before this handler was set by <function>session_set_save_handler</function>.
26
25
</para>
27
26
<para>
28
-
If this class is extended by inheritiance, calling the parent <parameter>write</parameter> method will invoke the
27
+
If this class is extended by inheritance, calling the parent <parameter>write</parameter> method will invoke the
29
28
wrapper for this method and therefore invoke the associated internal callback. This allows this method to be
30
29
overridden and or intercepted and filtered (for example, encrypting the <parameter>$data</parameter> value
31
30
before sending it to the parent <parameter>write</parameter> method).
...
...
@@ -41,7 +40,7 @@
41
40
&reftitle.parameters;
42
41
<variablelist>
43
42
<varlistentry>
44
-
<term><parameter>session_id</parameter></term>
43
+
<term><parameter>id</parameter></term>
45
44
<listitem>
46
45
<para>
47
46
The session id.
...
...
@@ -49,7 +48,7 @@
49
48
</listitem>
50
49
</varlistentry>
51
50
<varlistentry>
52
-
<term><parameter>session_data</parameter></term>
51
+
<term><parameter>data</parameter></term>
53
52
<listitem>
54
53
<para>
55
54
The encoded session data. This data is the result of the PHP internally encoding the <varname>$_SESSION</varname> superglobal to a serialized
...
...
@@ -81,7 +80,6 @@
81
80

82
81

83
82
</refentry>
84
-

85
83
<!-- Keep this comment at the end of the file
86
84
Local variables:
87
85
mode: sgml
88
86