reference/session/sessionhandler/destroy.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.destroy" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>SessionHandler::destroy</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>bool</type><methodname>SessionHandler::destroy</methodname>
14
-
<methodparam><type>string</type><parameter>session_id</parameter></methodparam>
11
+
<methodsynopsis role="SessionHandler">
12
+
<modifier>public</modifier> <type>bool</type><methodname>SessionHandler::destroy</methodname>
13
+
<methodparam><type>string</type><parameter>id</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Destroys a session. Called internally by PHP with <function>session_regenerate_id</function> (assuming
...
...
@@ -24,7 +23,7 @@
24
23
before this handler was set by <function>session_set_save_handler</function>.
25
24
</para>
26
25
<para>
27
-
If this class is extended by inheritiance, calling the parent <parameter>destroy</parameter> method will invoke the
26
+
If this class is extended by inheritance, calling the parent <parameter>destroy</parameter> method will invoke the
28
27
wrapper for this method and therefore invoke the associated internal callback. This allows this method to be
29
28
overridden and or intercepted and filtered.
30
29
</para>
...
...
@@ -39,7 +38,7 @@
39
38
<para>
40
39
<variablelist>
41
40
<varlistentry>
42
-
<term><parameter>session_id</parameter></term>
41
+
<term><parameter>id</parameter></term>
43
42
<listitem>
44
43
<para>
45
44
The session ID being destroyed.
...
...
@@ -59,7 +58,6 @@
59
58

60
59

61
60
</refentry>
62
-

63
61
<!-- Keep this comment at the end of the file
64
62
Local variables:
65
63
mode: sgml
66
64