Date: 06/26/00
- Next message: Kristian Köhntopp: "[PHPDOC] cvs: phpdoc /en/functions misc.xml"
- Previous message: Andrei Zmievski: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- In reply to: Egon Schmid: "[PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Next in thread: Egon Schmid: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Next in thread: Egon Schmid: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Reply: Egon Schmid: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Reply: Egon Schmid: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Now that we have php_sapi_name() that gives public access to the sapi
module name, let's standardize on how it should look. I vote for
all lowercase with underscored instead of spaces - that way it's similar
to the extension names.
On Mon, 26 Jun 2000, Egon Schmid wrote:
> eschmid Mon Jun 26 10:08:14 2000 EDT
>
> Modified files:
> /phpdoc/en/functions info.xml
> /phpdoc/de/functions info.xml
> /phpdoc/it/functions info.xml
> /phpdoc/ja/functions info.xml
> Log:
> Fixed english version and updated de/it/ja versions.
>
> Index: phpdoc/en/functions/info.xml
> diff -u phpdoc/en/functions/info.xml:1.7 phpdoc/en/functions/info.xml:1.8
> --- phpdoc/en/functions/info.xml:1.7 Mon Jun 26 08:11:26 2000
> +++ phpdoc/en/functions/info.xml Mon Jun 26 10:08:13 2000
> @@ -603,23 +603,24 @@
> <funcsynopsis>
> <funcprototype>
> <funcdef>string <function>php_sapi_name</function></funcdef>
> + <paramdef>void</paramdef>
> </funcprototype>
> </funcsynopsis>
> <simpara>
> - <function>php_sapi_name</function> returns a string which
> + <function>Php_sapi_name</function> returns a string which
> describes the type of interface between web server and PHP
> (Server API, SAPI). In CGI PHP, this string is "CGI", in
> mod_php for Apache, this string is "Apache" and so on.
> </simpara>
> <para>
> <example>
> - <title><function>php_sapi_name</function> example</title>
> + <title><function>Php_sapi_name</function> Example</title>
> <programlisting role="php">
> $inter_type = php_sapi_name();
> if ($inter_type == "CGI")
> - print "You are using CGI PHP\n";
> + print "You are using CGI PHP\n";
> else
> - print "You are not using CGI PHP\n";
> + print "You are not using CGI PHP\n";
> </programlisting>
> </example>
> </para>
> Index: phpdoc/de/functions/info.xml
> diff -u phpdoc/de/functions/info.xml:1.7 phpdoc/de/functions/info.xml:1.8
> --- phpdoc/de/functions/info.xml:1.7 Sat Jun 24 00:38:42 2000
> +++ phpdoc/de/functions/info.xml Mon Jun 26 10:08:13 2000
> @@ -539,6 +539,65 @@
> </refsect1>
> </refentry>
>
> + <refentry id="function.php-logo-guid">
> + <refnamediv>
> + <refname>php_logo_guid</refname>
> + <refpurpose>Get the logo guid</refpurpose>
> + </refnamediv>
> + <refsect1>
> + <title>Description</title>
> + <funcsynopsis>
> + <funcprototype>
> + <funcdef>string <function>php_logo_guid</function></funcdef>
> + <paramdef>void</paramdef>
> + </funcprototype>
> + </funcsynopsis>
> + <para>
> + <note>
> + <para>
> + This funcionality was added in PHP4 Beta 4.
> + </para>
> + </note>
> + </para>
> + </refsect1>
> + </refentry>
> +
> + <refentry id="function.php-sapi-name">
> + <refnamediv>
> + <refname>php_sapi_name</refname>
> + <refpurpose>
> + Returns the type of interface between web server and PHP
> + </refpurpose>
> + </refnamediv>
> + <refsect1>
> + <title>Description</title>
> + <funcsynopsis>
> + <funcprototype>
> + <funcdef>string <function>php_sapi_name</function></funcdef>
> + <paramdef>void</paramdef>
> + </funcprototype>
> + </funcsynopsis>
> + <simpara>
> + <function>Php_sapi_name</function> returns a string which
> + describes the type of interface between web server and PHP
> + (Server API, SAPI). In CGI PHP, this string is "CGI", in
> + mod_php for Apache, this string is "Apache" and so on.
> + </simpara>
> + <para>
> + <example>
> + <title><function>Php_sapi_name</function> Example</title>
> + <programlisting role="php">
> +$inter_type = php_sapi_name();
> +if ($inter_type == "CGI")
> + print "You are using CGI PHP\n";
> +else
> + print "You are not using CGI PHP\n";
> + </programlisting>
> + </example>
> + </para>
> + </refsect1>
> + </refentry>
> +
> <refentry id="function.phpversion">
> <refnamediv>
> <refname>phpversion</refname>
> Index: phpdoc/it/functions/info.xml
> diff -u phpdoc/it/functions/info.xml:1.3 phpdoc/it/functions/info.xml:1.4
> --- phpdoc/it/functions/info.xml:1.3 Sat Jun 24 00:38:44 2000
> +++ phpdoc/it/functions/info.xml Mon Jun 26 10:08:13 2000
> @@ -591,6 +591,65 @@
> </refsect1>
> </refentry>
>
> + <refentry id="function.php-logo-guid">
> + <refnamediv>
> + <refname>php_logo_guid</refname>
> + <refpurpose>Get the logo guid</refpurpose>
> + </refnamediv>
> + <refsect1>
> + <title>Description</title>
> + <funcsynopsis>
> + <funcprototype>
> + <funcdef>string <function>php_logo_guid</function></funcdef>
> + <paramdef>void</paramdef>
> + </funcprototype>
> + </funcsynopsis>
> + <para>
> + <note>
> + <para>
> + This funcionality was added in PHP4 Beta 4.
> + </para>
> + </note>
> + </para>
> + </refsect1>
> + </refentry>
> +
> + <refentry id="function.php-sapi-name">
> + <refnamediv>
> + <refname>php_sapi_name</refname>
> + <refpurpose>
> + Returns the type of interface between web server and PHP
> + </refpurpose>
> + </refnamediv>
> + <refsect1>
> + <title>Description</title>
> + <funcsynopsis>
> + <funcprototype>
> + <funcdef>string <function>php_sapi_name</function></funcdef>
> + <paramdef>void</paramdef>
> + </funcprototype>
> + </funcsynopsis>
> + <simpara>
> + <function>Php_sapi_name</function> returns a string which
> + describes the type of interface between web server and PHP
> + (Server API, SAPI). In CGI PHP, this string is "CGI", in
> + mod_php for Apache, this string is "Apache" and so on.
> + </simpara>
> + <para>
> + <example>
> + <title><function>Php_sapi_name</function> Example</title>
> + <programlisting role="php">
> +$inter_type = php_sapi_name();
> +if ($inter_type == "CGI")
> + print "You are using CGI PHP\n";
> +else
> + print "You are not using CGI PHP\n";
> + </programlisting>
> + </example>
> + </para>
> + </refsect1>
> + </refentry>
> +
> <refentry id="function.putenv">
> <refnamediv>
> <refname>putenv</refname>
> Index: phpdoc/ja/functions/info.xml
> diff -u phpdoc/ja/functions/info.xml:1.3 phpdoc/ja/functions/info.xml:1.4
> --- phpdoc/ja/functions/info.xml:1.3 Sat Jun 24 00:38:44 2000
> +++ phpdoc/ja/functions/info.xml Mon Jun 26 10:08:13 2000
> @@ -538,6 +538,66 @@
> </refentry>
>
>
> + <refentry id="function.php-logo-guid">
> + <refnamediv>
> + <refname>php_logo_guid</refname>
> + <refpurpose>Get the logo guid</refpurpose>
> + </refnamediv>
> + <refsect1>
> + <title>Description</title>
> + <funcsynopsis>
> + <funcprototype>
> + <funcdef>string <function>php_logo_guid</function></funcdef>
> + <paramdef>void</paramdef>
> + </funcprototype>
> + </funcsynopsis>
> + <para>
> + <note>
> + <para>
> + This funcionality was added in PHP4 Beta 4.
> + </para>
> + </note>
> + </para>
> + </refsect1>
> + </refentry>
> +
> +
> + <refentry id="function.php-sapi-name">
> + <refnamediv>
> + <refname>php_sapi_name</refname>
> + <refpurpose>
> + Returns the type of interface between web server and PHP
> + </refpurpose>
> + </refnamediv>
> + <refsect1>
> + <title>Description</title>
> + <funcsynopsis>
> + <funcprototype>
> + <funcdef>string <function>php_sapi_name</function></funcdef>
> + <paramdef>void</paramdef>
> + </funcprototype>
> + </funcsynopsis>
> + <simpara>
> + <function>Php_sapi_name</function> returns a string which
> + describes the type of interface between web server and PHP
> + (Server API, SAPI). In CGI PHP, this string is "CGI", in
> + mod_php for Apache, this string is "Apache" and so on.
> + </simpara>
> + <para>
> + <example>
> + <title><function>Php_sapi_name</function> Example</title>
> + <programlisting role="php">
> +$inter_type = php_sapi_name();
> +if ($inter_type == "CGI")
> + print "You are using CGI PHP\n";
> +else
> + print "You are not using CGI PHP\n";
> + </programlisting>
> + </example>
> + </para>
> + </refsect1>
> + </refentry>
> +
> <refentry id="function.putenv">
> <refnamediv>
> <refname>putenv</refname>
>
>
-Andrei
A room without books is like a body without a soul.
-- Marcus Tullius Cicero (106-43 B.C.)
- Next message: Kristian Köhntopp: "[PHPDOC] cvs: phpdoc /en/functions misc.xml"
- Previous message: Andrei Zmievski: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- In reply to: Egon Schmid: "[PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Next in thread: Egon Schmid: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Next in thread: Egon Schmid: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Reply: Egon Schmid: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Reply: Egon Schmid: "[PHPDOC] Re: [PHP-DEV] Re: [PHPDOC] cvs: phpdoc /de/functions info.xml /en/functions info.xml /it/functions info.xml /ja/functions info.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

