hirokawa                Sat Jan 26 03:56:25 2002 EDT

  Modified files:              
    /phpdoc/en/functions        ming.xml misc.xml mnogosearch.xml msql.xml 
                                mysql.xml 
  Log:
  fixed typos and changed script code based on php notation rule.
  
Index: phpdoc/en/functions/ming.xml
diff -u phpdoc/en/functions/ming.xml:1.32 phpdoc/en/functions/ming.xml:1.33
--- phpdoc/en/functions/ming.xml:1.32   Sat Jan 19 19:42:36 2002
+++ phpdoc/en/functions/ming.xml        Sat Jan 26 03:56:25 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.32 $ -->
+<!-- $Revision: 1.33 $ -->
  <reference id="ref.ming">
   <title>Ming functions for Flash</title>
   <titleabbrev>Ming (flash)</titleabbrev>
@@ -3148,7 +3148,7 @@
     <funcsynopsis>
      <funcprototype>
       <funcdef>void <function>swfsprite->add</function></funcdef>
-      <paramdef>ressource <parameter>object</parameter></paramdef>
+      <paramdef>resource <parameter>object</parameter></paramdef>
      </funcprototype>
     </funcsynopsis>
     &warn.experimental.func;
Index: phpdoc/en/functions/misc.xml
diff -u phpdoc/en/functions/misc.xml:1.65 phpdoc/en/functions/misc.xml:1.66
--- phpdoc/en/functions/misc.xml:1.65   Thu Jan  3 10:22:36 2002
+++ phpdoc/en/functions/misc.xml        Sat Jan 26 03:56:25 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.65 $ -->
+<!-- $Revision: 1.66 $ -->
  <reference id="ref.misc">
   <title>Miscellaneous functions</title>
   <titleabbrev>Misc.</titleabbrev>
@@ -118,7 +118,7 @@
       <title><function>constant</function> example</title>
       <programlisting role="php">
 <![CDATA[
-<php
+<?php
 
 define ("MAXSIZE", 100);
 
Index: phpdoc/en/functions/mnogosearch.xml
diff -u phpdoc/en/functions/mnogosearch.xml:1.32 
phpdoc/en/functions/mnogosearch.xml:1.33
--- phpdoc/en/functions/mnogosearch.xml:1.32    Tue Jan  1 19:42:17 2002
+++ phpdoc/en/functions/mnogosearch.xml Sat Jan 26 03:56:25 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.32 $ -->
+<!-- $Revision: 1.33 $ -->
 <reference id="ref.mnogo">
  <title>mnoGoSearch Functions</title>
  <titleabbrev>mnoGoSearch</titleabbrev>
@@ -227,10 +227,10 @@
    
    <simpara>Example:</simpara>
    <informalexample>
-    <programlisting role="C">
+    <programlisting role="php">
 <![CDATA[
-   if (Udm_Api_Version() >= 30111) {
-   print  "Total number of urls in database: ".Udm_Get_Doc_Count($udm)."<br>\n";
+   if (udm_api_version() >= 30111) {
+   print  "Total number of urls in database: ".udm_get_doc_count($udm)."<br>\n";
    }
 ]]>
     </programlisting>
@@ -279,6 +279,7 @@
    </para>
    
    <literallayout>
+<![CDATA[
  $array[0] will contain ''
  $array[1] will contain 'Root'
  $array[2] will contain '02'
@@ -287,6 +288,7 @@
  $array[5] will contain 'Auto'
  $array[4] will contain '02031D'
  $array[5] will contain 'Ferrari'
+]]>
    </literallayout>
    <example>
     <title>
@@ -294,15 +296,17 @@
      '&gt; Root &gt; Sport &gt; Auto &gt; Ferrari'
     </title>
     <programlisting role="php">
- &lt;?php
-   $cat_path_arr=Udm_Cat_Path($udm_agent,$cat);
-   $cat_path='';
-   for ($i=0; $i&lt;count($cat_path_arr); $i+=2) {
-     $path=$cat_path_arr[$i];
-     $name=$cat_path_arr[$i+1];
-     $cat_path .= " &gt; &lt;a href=\"$PHP_SELF?cat=$path\"&gt;$name&lt;/a&gt; ";
-   }
- &gt;
+<![CDATA[
+<?php
+  $cat_path_arr = udm_cat_path($udm_agent,$cat);
+  $cat_path = '';
+  for ($i=0; $i<count($cat_path_arr); $i+=2) {
+    $path = $cat_path_arr[$i];
+    $name = $cat_path_arr[$i+1];
+    $cat_path .= " > <a href=\"$PHP_SELF?cat=$path\">$name</a> ";
+  }
+?>
+]]>
     </programlisting>
    </example>
   </refsect1>
@@ -341,6 +345,7 @@
    </para>
    
    <literallayout>
+<![CDATA[
   $array[0] will contain '020300'
   $array[1] will contain 'Audi'
   $array[2] will contain '020301'
@@ -349,6 +354,7 @@
   $array[5] will contain 'Opel'
   ...
  etc.
+]]>
    </literallayout>
    <literallayout>
 Following is an example of displaying links of the current level in format:
@@ -359,15 +365,17 @@
    </literallayout>
    <informalexample>
     <programlisting role="php">
-  &lt;?php
-   $cat_list_arr=Udm_Cat_List($udm_agent,$cat);
-   $cat_list='';
-   for ($i=0; $i&lt;count($cat_list_arr); $i+=2) {
-   $path=$cat_list_arr[$i];
-   $name=$cat_list_arr[$i+1];
-   $cat_list .= "&lt;a href=\"$PHP_SELF?cat=$path\"&gt;$name&lt;/a&gt;&lt;br&gt;";
-   }
-  &gt;
+<![CDATA[
+<?php
+ $cat_list_arr = udm_cat_list($udm_agent,$cat);
+ $cat_list = '';
+ for ($i=0; $i<count($cat_list_arr); $i+=2) {
+   $path = $cat_list_arr[$i];
+   $name = $cat_list_arr[$i+1];
+   $cat_list .= "<a href=\"$PHP_SELF?cat=$path\">$name</a><br>";
+ }
+?>
+]]>
     </programlisting>
    </informalexample>
    
@@ -905,11 +913,11 @@
      
      <simpara>Example:</simpara>
      <informalexample>
-      <programlisting role="C">
-     if (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_DB,'','',1)) {
-     printf("Error #%d: '%s'\n",Udm_Errno($udm),Udm_Error($udm));
-     exit;
-     }
+      <programlisting role="php">
+if (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_DB,'','',1)) {
+  printf("Error #%d: '%s'\n", udm_errno($udm), udm_error($udm));
+  exit;
+}
       </programlisting>
      </informalexample>
     </listitem>
@@ -930,11 +938,11 @@
      
      <simpara>Example:</simpara>
      <informalexample>
-      <programlisting role="C">
-     if ((! 
Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) ||
-        (! 
Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) ||
-        (! 
Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) ||
-        (! 
Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) {
+      <programlisting role="php">
+     if ((! 
+udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'en','/opt/ispell/en.aff',0)) ||
+        (! 
+udm_load_ispell_data($udm,UDM_ISPELL_TYPE_AFFIX,'ru','/opt/ispell/ru.aff',0)) ||
+        (! 
+udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'en','/opt/ispell/en.dict',0)) ||
+        (! 
+udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SPELL,'ru','/opt/ispell/ru.dict',1))) {
      exit;
      }
       </programlisting>
@@ -1014,11 +1022,13 @@
      
      <simpara>Example:</simpara>
      <informalexample>
-      <programlisting role="C">
-     if (! Udm_Load_Ispell_Data($udm,UDM_ISPELL_TYPE_SERVER,'','',1)) {
-         printf("Error loading ispell data from server&lt;br&gt;\n");
-         exit;
-        }
+      <programlisting role="php">
+<![CDATA[
+if (!udm_load_ispell_data($udm,UDM_ISPELL_TYPE_SERVER,'','',1)) {
+    printf("Error loading ispell data from server<br>\n");
+    exit;
+}
+]]>
       </programlisting>
      </informalexample>
     </listitem>
@@ -1293,13 +1303,11 @@
    </refsect1>
   </refentry>
 
-
-
   <refentry id='function.udm-check-stored'>
    <refnamediv>
     <refname>udm_check_stored</refname>
     <refpurpose>
-     Open connection to stored
+     Check connection to stored
     </refpurpose>
    </refnamediv>
    <refsect1>
@@ -1318,13 +1326,11 @@
    </refsect1>
   </refentry>
 
-
-
   <refentry id='function.udm-close-stored'>
    <refnamediv>
     <refname>udm_close_stored</refname>
     <refpurpose>
-     Open connection to stored
+     Close connection to stored
     </refpurpose>
    </refnamediv>
    <refsect1>
@@ -1342,8 +1348,6 @@
    </refsect1>
   </refentry>
 
-
-
   <refentry id='function.udm-crc32'>
    <refnamediv>
     <refname>udm_crc32</refname>
@@ -1366,8 +1370,6 @@
    </refsect1>
   </refentry>
 
-
-
   <refentry id='function.udm-open-stored'>
    <refnamediv>
     <refname>udm_open_stored</refname>
@@ -1389,8 +1391,6 @@
     </para>
    </refsect1>
   </refentry>
-
-
 
 </reference>
 
Index: phpdoc/en/functions/msql.xml
diff -u phpdoc/en/functions/msql.xml:1.22 phpdoc/en/functions/msql.xml:1.23
--- phpdoc/en/functions/msql.xml:1.22   Sun Jan  6 21:55:54 2002
+++ phpdoc/en/functions/msql.xml        Sat Jan 26 03:56:25 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.22 $ -->
+<!-- $Revision: 1.23 $ -->
  <reference id="ref.msql">
   <title>mSQL functions</title>
   <titleabbrev>mSQL</titleabbrev>
@@ -322,7 +322,11 @@
     <funcsynopsis>
      <funcprototype>
       <funcdef>string <function>msql_error</function></funcdef>
-      <paramdef> <parameter></parameter></paramdef>
+      <paramdef>int 
+       <parameter>
+       <replaceable><optional>link_identifier</optional></replaceable>
+       </parameter>
+      </paramdef>
      </funcprototype>
     </funcsynopsis>
     <para>
Index: phpdoc/en/functions/mysql.xml
diff -u phpdoc/en/functions/mysql.xml:1.83 phpdoc/en/functions/mysql.xml:1.84
--- phpdoc/en/functions/mysql.xml:1.83  Tue Jan 15 07:57:14 2002
+++ phpdoc/en/functions/mysql.xml       Sat Jan 26 03:56:25 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.83 $ -->
+<!-- $Revision: 1.84 $ -->
  <reference id="ref.mysql">
   <title>MySQL Functions</title>
   <titleabbrev>MySQL</titleabbrev>
@@ -455,7 +455,7 @@
      <title>MySQL data seek example</title>
      <programlisting role="php">
 <![CDATA[
-&<?php
+<?php
     $link = mysql_pconnect("kron", "jutta", "geheim")
         or die("Could not connect");
 


Reply via email to