[PHP-DEV] cvs: /phpdoc/functions session.sgml From: Andrei Zmievski (zmievski <email protected>)
Date: 11/27/99

andrei Sat Nov 27 16:25:01 1999 EDT

  Modified files:
    /phpdoc/functions session.sgml
  Log:
  Expanded docs on session_register(). If anyone wants to rewrite it to be
  more clear, feel free.
  
  
Index: phpdoc/functions/session.sgml
diff -u phpdoc/functions/session.sgml:1.14 phpdoc/functions/session.sgml:1.15
--- phpdoc/functions/session.sgml:1.14 Tue Nov 23 17:45:50 1999
+++ phpdoc/functions/session.sgml Sat Nov 27 16:25:00 1999
@@ -432,17 +432,23 @@
   <refentry id="function.session-register">
    <refnamediv>
     <refname>session_register</refname>
- <refpurpose>Register a variable with the current session</refpurpose>
+ <refpurpose>Register one or more variables with the current session</refpurpose>
    </refnamediv>
    <refsect1>
     <title>Description</title>
     <funcsynopsis>
      <funcdef>bool <function>session_register</function></funcdef>
- <paramdef>string <parameter>name</parameter></paramdef>
+ <paramdef>mixed <parameter>name</parameter></paramdef>
+ <paramdef>mixed
+ <parameter><optional>...</optional></parameter></paramdef>
     </funcsynopsis>
     <para>
- <function>session_register</function> registers the global variable
- named <parameter>name</parameter> with the current session.</para>
+ <function>session_register</function> variable number of
+ arguments, any of which can be either a string holding the
+ variable name or an array consisting of such variable names or
+ other arrays. For each encountered variable name,
+ <function>session_register</function> registers the global
+ variable named by it with the current session.</para>
     <para>
      This function returns true when the variable is successfully
      registered with the session.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>