betz            Sun Jun  1 15:26:30 2003 EDT

  Modified files:              
    /phpdoc/en/reference/ftp/functions  ftp-get-option.xml 
                                        ftp-set-option.xml 
  Log:
  wrong note removed, php tags for examples, cross-linking
  
  
Index: phpdoc/en/reference/ftp/functions/ftp-get-option.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-get-option.xml:1.4 
phpdoc/en/reference/ftp/functions/ftp-get-option.xml:1.5
--- phpdoc/en/reference/ftp/functions/ftp-get-option.xml:1.4    Tue Sep 17 05:46:57 
2002
+++ phpdoc/en/reference/ftp/functions/ftp-get-option.xml        Sun Jun  1 15:26:30 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/ftp.xml, last change in rev 1.30 -->
   <refentry id='function.ftp-get-option'>
    <refnamediv>
@@ -13,11 +13,6 @@
       
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
       <methodparam><type>int</type><parameter>option</parameter></methodparam>
      </methodsynopsis>
-    <note>
-     <para>
-      This function is only available in CVS.
-     </para>
-    </note>
     <para>
      Returns the value on success or &false; if the given
      <parameter>option</parameter> is not supported. In the latter case, a
@@ -33,23 +28,27 @@
        <tbody>
         <row>
          <entry>FTP_TIMEOUT_SEC</entry>
-         <entry>Returns the current timeout used for network related
-         operations.</entry>
+         <entry>
+          Returns the current timeout used for network related operations.
+         </entry>
         </row>
        </tbody>
       </tgroup>
      </table>
     </para>
-    <para>
-     <example>
-      <title><function>ftp_get_option</function> example</title>
-      <programlisting role="php">
+    <example>
+     <title><function>ftp_get_option</function> example</title>
+     <programlisting role="php">
 <![CDATA[
+<?php
 // Get the timeout of the given FTP stream
 $timeout = ftp_get_option($conn_id, FTP_TIMEOUT_SEC);
+?>
 ]]>
-      </programlisting>
-     </example>
+     </programlisting>
+    </example>
+    <para>
+     See also <function>ftp_set_option</function>.
     </para>
    </refsect1>
   </refentry>
Index: phpdoc/en/reference/ftp/functions/ftp-set-option.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-set-option.xml:1.6 
phpdoc/en/reference/ftp/functions/ftp-set-option.xml:1.7
--- phpdoc/en/reference/ftp/functions/ftp-set-option.xml:1.6    Tue Sep 17 05:46:58 
2002
+++ phpdoc/en/reference/ftp/functions/ftp-set-option.xml        Sun Jun  1 15:26:30 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- splitted from ./en/functions/ftp.xml, last change in rev 1.32 -->
   <refentry id='function.ftp-set-option'>
    <refnamediv>
@@ -14,11 +14,6 @@
       <methodparam><type>int</type><parameter>option</parameter></methodparam>
       <methodparam><type>mixed</type><parameter>value</parameter></methodparam>
      </methodsynopsis>
-    <note>
-     <para>
-      This function is only available in CVS.
-     </para>
-    </note>
     <para>
      Returns &true; if the option could be set; &false; if not. A warning
      message will be thrown if the <parameter>option</parameter> is not
@@ -52,16 +47,19 @@
       </tgroup>
      </table>
     </para>
-    <para>
-     <example>
-      <title><function>ftp_set_option</function> example</title>
-      <programlisting role="php">
+    <example>
+     <title><function>ftp_set_option</function> example</title>
+     <programlisting role="php">
 <![CDATA[
+<?php
 // Set the network timeout to 10 seconds
 ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 10);
+?>
 ]]>
-      </programlisting>
-     </example>
+     </programlisting>
+    </example>
+    <para>
+     See also <function>ftp_get_option</function>.
     </para>
    </refsect1>
   </refentry>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to