[srm-cvs] Re: CVS Update: - Updated some of the text

From: <derick[@]vl-srm.net>
Date: Mon Feb 18 2002 - 14:10:32 CET

Hey Dan,

why did you remove this example?

- <refsect2 id="class.srm.module-functions">
- <title>Functions</title>
- <para>
- The <classname>SRM</classname> class can also be used to manage global
- variables. Those variables are stored in the SRM Daemon, and are
- accessible by every script connection to the daemon. You can access those
- global variables with the <varname>globals</varname> array. The example
- below shows how to set and get these variables.
- </para>
- <para>
- <example>
- <title>Using global variables</title>
- <programlisting>&lt;?php
- /* make a connection to the daemon */
- $con = new SRM ('localhost', 7777);
-
- /* set the global variable 'foo' to 807 */
- $con->globals['foo'] = 807;
-
- /* display the contents of global variable 'bar' */
- echo $con->globals['bar'];
- ?></programlisting>
- </example>
- </para>
- </refsect2>

regards,
Derick

On Mon, 18 Feb 2002 kalowsky@php.net wrote:

> Date: Mon Feb 18 07:03:56 CET 2002
> User: Dan Kalowsky
> Directory: srmdoc/user
>
> Log Message:
> [1.11]
> - Updated some of the text
>
> Modified files:
> srmdoc/user/classes.xml (version: 1.4)
Received on Mon Feb 18 14:10:34 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 07:00:03 CET