svn: /phpdoc/en/trunk/reference/session/functions/ session-decode.xml session-encode.xml
| From: | Karma Dordrak | Date: | Sun, 19 Feb 2012 20:03:24 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/session/functions/ session-decode.xml session-encode.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9621@lists.php.net to get a copy of this message | ||
drak Sun, 19 Feb 2012 20:03:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=323367
Log:
Added some explicit information about the functioning of session_encode and session_decode.
Changed paths:
U phpdoc/en/trunk/reference/session/functions/session-decode.xml
U phpdoc/en/trunk/reference/session/functions/session-encode.xml
Modified: phpdoc/en/trunk/reference/session/functions/session-decode.xml
===================================================================
--- phpdoc/en/trunk/reference/session/functions/session-decode.xml 2012-02-19 19:35:46 UTC (rev
323366)
+++ phpdoc/en/trunk/reference/session/functions/session-decode.xml 2012-02-19 20:03:24 UTC (rev
323367)
@@ -3,9 +3,9 @@
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.session-decode">
<refnamediv>
<refname>session_decode</refname>
- <refpurpose>Decodes session data from a string</refpurpose>
+ <refpurpose>Decodes session data from a session encoded string</refpurpose>
</refnamediv>
-
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -14,8 +14,8 @@
</methodsynopsis>
<para>
<function>session_decode</function> decodes the session data in
- <parameter>data</parameter>, setting variables stored in the
- session.
+ <parameter>data</parameter>, and populates the $_SESSION superglobal
+ with the result.
</para>
</refsect1>
Modified: phpdoc/en/trunk/reference/session/functions/session-encode.xml
===================================================================
--- phpdoc/en/trunk/reference/session/functions/session-encode.xml 2012-02-19 19:35:46 UTC (rev
323366)
+++ phpdoc/en/trunk/reference/session/functions/session-encode.xml 2012-02-19 20:03:24 UTC (rev
323367)
@@ -3,9 +3,9 @@
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.session-encode">
<refnamediv>
<refname>session_encode</refname>
- <refpurpose>Encodes the current session data as a string</refpurpose>
+ <refpurpose>Encodes the current session data as a session encoded string</refpurpose>
</refnamediv>
-
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -14,7 +14,8 @@
</methodsynopsis>
<para>
<function>session_encode</function> returns a string with the
- contents of the current session encoded within.
+ contents of the current session encoded within. The current session
+ data is taken from the $_SESSION superglobal.
</para>
</refsect1>