Updated mnogosearch.xml

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78055 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sebastian Nohn 2002-04-13 10:19:44 +00:00
parent 414d9d4374
commit a59df78205

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.35 $ -->
<!-- $Revision: 1.36 $ -->
<reference id="ref.mnogo">
<title>mnoGoSearch Functions</title>
<titleabbrev>mnoGoSearch</titleabbrev>
@ -882,10 +882,12 @@ Following is an example of displaying links of the current level in format:
<simpara>Example:</simpara>
<informalexample>
<programlisting role="php">
<![CDATA[
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>
@ -907,12 +909,14 @@ if (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_DB,'','',1)) {
<simpara>Example:</simpara>
<informalexample>
<programlisting role="php">
<![CDATA[
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>
</informalexample>
<note>
@ -938,13 +942,15 @@ if (! udm_load_ispell_data($udm,UDM_ISPELL_TYPE_DB,'','',1)) {
description in UDM_ISPELL_TYPE_DB.
</para>
<informalexample>
<programlisting role="C">
<programlisting role="php">
<![CDATA[
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>
</informalexample>