cvs: phpdoc-zh /reference/ftp/functions ftp-systype.xml
| From: | bole Chen | Date: | Mon, 21 Apr 2008 07:08:39 +0000 |
| Subject: | cvs: phpdoc-zh /reference/ftp/functions ftp-systype.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2986@lists.php.net to get a copy of this message | ||
avenger Mon Apr 21 07:08:39 2008 UTC
Modified files:
/phpdoc-zh/reference/ftp/functions ftp-systype.xml
Log:
up to date
http://cvs.php.net/viewvc.cgi/phpdoc-zh/reference/ftp/functions/ftp-systype.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-zh/reference/ftp/functions/ftp-systype.xml
diff -u phpdoc-zh/reference/ftp/functions/ftp-systype.xml:1.3
phpdoc-zh/reference/ftp/functions/ftp-systype.xml:1.4
--- phpdoc-zh/reference/ftp/functions/ftp-systype.xml:1.3 Sat Jun 23 13:32:46 2007
+++ phpdoc-zh/reference/ftp/functions/ftp-systype.xml Mon Apr 21 07:08:39 2008
@@ -1,14 +1,13 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.3 $ -->
-<!-- $Author: bjori $ -->
+<!-- $Revision: 1.4 $ -->
<!-- EN-Revision: 1.3 Maintainer: Avenger Status: ready -->
<refentry xml:id="function.ftp-systype" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_systype</refname>
- <refpurpose>·µ»ØÔ¶³Ì FTP ·þÎñÆ÷µÄϵͳÀàÐÍ</refpurpose>
+ <refpurpose>·µ»ØÔ¶³Ì FTP
·þÎñÆ÷µÄ²Ù×÷ϵͳÀàÐÍ</refpurpose>
</refnamediv>
- <refsect1>
- <title>˵Ã÷</title>
+ <refsect1 role="description">
+ &reftitle.description;
<methodsynopsis>
<type>string</type><methodname>ftp_systype</methodname>
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
@@ -16,36 +15,58 @@
<para>
·µ»ØÔ¶³Ì·þÎñÆ÷µÄϵͳÀàÐÍ£¬·¢Éú´íÎóÔò·µ»Ø
&false;¡£
</para>
+ </refsectl>
+ <refsectl role="parameter">
+ &reftitle.parameters;
<para>
- <example>
- <title><function>ftp_systype</function> Àý×Ó</title>
- <programlisting role="php">
+ <variableslist>
+ <varlistentry>
+ <term><parameter>ftp_stream</parameter></term>
+ <listitem>
+ <para>
+ FTP Á¬½Ó×ÊÔ´¡£
+ </para>
+ </listitem>
+ </varlistentry>
+ </variableslist>
+ </para>
+ </refsectl>
+ <refsectl role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ ·µ»ØÔ¶³Ì·þÎñÆ÷ÀàÐÍ£¬Ê§°Ü·µ»Ø &false;¡£
+ </para>
+ </refsectl>
+ <refsectl role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>ftp_systype</function> Àý×Ó</title>
+ <programlisting role="php">
<![CDATA[
<?php
// ftp connection
-$ftp = ftp_connect('ftp.keliglia.com');
+$ftp = ftp_connect('ftp.example.com');
ftp_login($ftp, 'user', 'password');
// get the system type
if ($type = ftp_systype($ftp)) {
- echo "Keliglia is powered by $type\n";
+ echo "Example.com is powered by $type\n";
} else {
echo "Couldn't get the systype";
}
?>
]]>
</programlisting>
- <para>
- ±¾Àý½«Êö³ö£º
- </para>
+ &example.outputs.similar;
<screen>
<![CDATA[
-Keliglia is powered by UNIX
+Example.com is powerd by UNIX
]]>
</screen>
</example>
</para>
- </refsect1>
+ </refsectl>
</refentry>
<!-- Keep this comment at the end of the file