Date: 09/03/00
- Next message: Hartmut Holzgraefe: "[PHP-DOC] cvs: phpdoc / version.dsl"
- Previous message: Egon Schmid ( <email protected>): "Re: [PHP-DOC] Q: Adding documentation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
glace Sun Sep 3 06:45:26 2000 EDT
Added files:
/phpdoc/hk/functions vmailmgr.xml ccvs.xml com.xml cybercash.xml
dir.xml dl.xml filepro.xml gettext.xml
mail.xml pspell.xml recode.xml aspell.xml
Log:
no message
Index: phpdoc/hk/functions/vmailmgr.xml
+++ phpdoc/hk/functions/vmailmgr.xml
<reference id="ref.vmailmgr">
<title>Vmailmgr ¨ç¼Æ</title>
<titleabbrev>Vmailmgr</titleabbrev>
<partintro>
<simpara>
n¨Ï¥Î³o¨Ç¨ç¼Æ¥²¶·¦P®É¦w¸Ë <ulink url="&url.qmail;">qmail</ulink> ¥H¤Î Bruce Guenter ©Ò¼gªº
<ulink url="&url.vmailmgr;">vmailmgr package</ulink>¡C</simpara>
<simpara>
¹ï©ó¤U±©Ò¦³ªº¨ç¼Æ¡A ¥H¤U¨âÓ¦r¦ê°Ñ¼Æ vdomain ©M basepwd ¤À§O¥Nªí¤F§AªºµêÀÀ°ì¦W (vdomain.com) ¥H¤Î¥Î¨Ó±±¨îµêÀÀ¥Î¤áªº'¯u¥¿'¥Î¤áªº±K½X¡C </simpara>
<simpara>
µêÀÀ¥Î¤áªº±K½X³Ì¦h¥u¯à¦³ 8 Ó¦r²Å¡C
</simpara>
<simpara>
©Ò¦³¨ç¼Æ¶Ç¦^ªº³£¬O°t¦X¦b response.h ¤¤¤w©w¸q¦nªºÈ¡C</simpara>
<para>
<simplelist>
<member>O ¥¿±`ok</member>
<member>1 Ãa¨Æ¨à</member>
<member>2 ¿ù»~</member>
<member>3 ³s±µ¿ù»~</member>
</simplelist></para>
<para>
¤w¸gª¾¹Dªº°ÝÃD¡G <function>vm_deluser</function> ¨Ã¤£¦p·|·Q¹³¤¤¨º¼Ë§â¥Î¤á¥Ø¿ý²M°£¡A<function>vm_addalias</function> ²{¦bÁÙ¬O¨Sªk¥¿±`¤u§@¡C</para>
<para>
<informalexample>
<programlisting>
<?php
dl("php3_vmailmgr.so"); //load the shared library
$vdomain="vdomain.com";
$basepwd="password";
?>
</programlisting>
</informalexample></para>
</partintro>
<refentry id="function.vm-adduser">
<refnamediv>
<refname>vm_adduser</refname>
<refpurpose>·s¼W¤@ӥΤá¨Ã³]©w±K½X</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>vm_adduser</function></funcdef>
<paramdef>string <parameter>vdomain</parameter></paramdef>
<paramdef>string <parameter>basepwd</parameter></paramdef>
<paramdef>string <parameter>newusername</parameter></paramdef>
<paramdef>string <parameter>newuserpassword</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
·s¥[¤@ӥΤá¨Ã³]©w±K½X¡C<parameter>newusername</parameter> ¬O·s¥Î¤áªº¹q¶lµn¤J¦W¦Ó <parameter>newuserpassword</parameter> «h¬O³oÓ·s¥Î¤áªº±K½X¡C</simpara>
</refsect1>
</refentry>
<refentry id="function.vm-addalias">
<refnamediv>
<refname>vm_addalias</refname>
<refpurpose>¬°¤@ÓµêÀÀ¥Î¤á¥[¤@Ó§O¦W</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>vm_addalias</function></funcdef>
<paramdef>string <parameter>vdomain</parameter></paramdef>
<paramdef>string <parameter>basepwd</parameter></paramdef>
<paramdef>string <parameter>username</parameter></paramdef>
<paramdef>string <parameter>alias</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
¬°¥Î¤á¥[¤@Ó§O¦W¡C <parameter>username</parameter> ¬O¥Î¤áªº¹q¶lµn¤J¦W¦Ó <parameter>alias</parameter> «h¬O³oӥΤán¥[ªº§O¦W¡C</simpara>
</refsect1>
</refentry>
<refentry id="function.vm-passwd">
<refnamediv>
<refname>vm_passwd</refname>
<refpurpose>§ïÅܤ@ÓµêÀÀ¥Î¤áªº±K½X</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>vm_passwd</function></funcdef>
<paramdef>string <parameter>vdomain</parameter></paramdef>
<paramdef>string <parameter>username</parameter></paramdef>
<paramdef>string <parameter>password</parameter></paramdef>
<paramdef>string <parameter>newpassword</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
§ïÅܵêÀÀ¥Î¤áªº±K½X¡C <parameter>username</parameter> ¬O¥Î¤áªº¹q¶lµn¤J¦W¦Ó
<parameter>password</parameter> ¬Oªº±K½X¡B <parameter>newpassword</parameter> «h¬O·sªº±K½X¡C</simpara>
</refsect1>
</refentry>
<refentry id="function.vm-delalias">
<refnamediv>
<refname>vm_delalias</refname>
<refpurpose>¨ú®ø¤@Ó§O¦W</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>vm_delalias</function></funcdef>
<paramdef>string <parameter>vdomain</parameter></paramdef>
<paramdef>string <parameter>basepwd</parameter></paramdef>
<paramdef>string <parameter>alias</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
¨ú®ø¤@Ó§O¦W¡C</simpara>
</refsect1>
</refentry>
<refentry id="function.vm-deluser">
<refnamediv>
<refname>vm_deluser</refname>
<refpurpose>²¾°£¤@ÓµêÀÀ¥Î¤á</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>vm_deluser</function></funcdef>
<paramdef>string <parameter>vdomain</parameter></paramdef>
<paramdef>string <parameter>username</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
²¾°£¤@ÓµêÀÀ¥Î¤á¡C</simpara>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/ccvs.xml
+++ phpdoc/hk/functions/ccvs.xml
<!--
CCVS Documentation by Brendan W. McAdams <brendan <email protected>>
Copyright (c) 2000 by the PHP Group
-Special Thanks to RedHat, Inc. for the contribution of their original
documentation for the php3 version of this module, which helped us
start this document.
-->
<reference id="ref.ccvs">
<title>CCVS API ¨ç¼Æ</title>
<titleabbrev>CCVS</titleabbrev>
<partintro>
<simpara>
³o¨Ç¨ç¼Æ©M CCVS ªº API §@±µ¤f¡A Åý§A¥i¥Hª½±µ¦b PHP µ{¦¡¤¤¨Ï¥Î CCVS¡C
CCVS ¬O <ulink
url="&url.redhat;">RedHat's</ulink> ¥Î¨Ó¸Ñ¨M³B²z«H¥Î¥d¥æ©öªº '¤¤¶¡¤H' ¤è®×¡C
¥¦Åý§A¨Ï¥Î¤@Ó unix µ{§Ç¸ò¼Æ¾Ú¾÷ª½±µ©M«H¥Î¥dªºµ²ºâ¤è¡@(clearing houses) ³q¸Ü¡C
¨Ï¥Î PHP ªº³oÓ CCVS ¼Ò²Õ¡A §A¥i¦b PHP µ{¦¡¬q¤¤ª½±µ³B²z¯A¤Î«H¥Î¥dªº¤u§@¡C¤U±
¦C¥X³B²z®Éªº¤jP¬yµ{¡C
</simpara>
<simpara>
¥Î¥O PHP ¤ä´© CCVS¡A º¥ýÀˬd¤@¤U§Aªº CCVS ¦w¸Ë¦bþ¤@ӥؿý¡C µM«á§An×§ï
<option role="configure">--with-ccvs</option>¿ï¶µ¡G ¦pªG¤£µ¹¥X CCVS ¦w¸Ë¥Ø¿ý¡A
PHP ·|¨ì CCVS ªº¹w©w¥Ø¿ý (/usr/local/ccvs) ¤¤´M§ä¡C ¦p CCVS ¤£¬O¦w¸Ë¦b¼Ð·Çªº¥Ø¿ý
¤¤ªº¸Ü¡A ¿ï¶µ«Kn×§ï¦p¤U¡G<option role="configure">--with-ccvs=$ccvs_path</option>
¡A $ccvs_path «K¬O¦w¸Ë CCVS ªº¦ì¸m¡C ¯d·N·Q¤ä´© CCVS «h $ccvs_path/lib
©M $ccvs_path/include ³o¨âӥؿýn¦s¦b¨Ã¥Ø¿ý¤¤¤À§On¦³ libccvs.a ©M cv_api.h ³o¨âÓÀɮסC
</simpara>
<simpara>
°£¦¹¤§¥~¡A ccvsd µ{§Ç©Ò¹B¦æ®Éªº°t¸mn©M§A¥´ºâ¹B¦æ PHP ªº°t¸m¬Û¦P¡C ¥t¥~
¨âªÌ¹B¦æ®Éªº¨Ï¥ÎªÌ¦WºÙ¤]n¤@¼Ë¤~¦æ¡C (¤]´N¬O»¡¡A ¦pªG§A¥Î 'ccvs' ¨Ó¦w¸Ë
CCVS¡A ¨º§Aªº PHP µ{¦¡¤]n¥Î 'ccvs' ªº¨¤À¨Ó¹B¦æ¡C)
</simpara>
<simpara>
§ó¦h¦³Ãö CCVS ªº¸ê®Æ¥i¦b <ulink
url="&url.redhat.ccvs;">&url.redhat.ccvs;</ulink>¤¤¨ú±o¡C
</simpara>
<simpara>
³o³¡¤Àªº»¡©ú¤å¥ó¤´¦b½s¼g¤¤¡C ¦b§Ú̧¹¤u«e RedHat ©Ò«O¯dªº»¡©ú¤å¥ó
¤´¬O¤Q¤À¦³¥Îªº¡A ºÉºÞ¤FÂI¨à¡G
<ulink url="&url.redhat.support;">&url.redhat.support;</ulink>
</simpara>
</partintro>
<refentry>
<refnamediv>
<refname></refname>
<refpurpose></refpurpose>
</refnamediv>
<refsect1>
<title></title>
<funcsynopsis>
<funcprototype>
<funcdef> <function></function></funcdef>
<paramdef> <parameter></parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/com.xml
+++ phpdoc/hk/functions/com.xml
<reference id="ref.com">
<title>¤ä´© Windows ¤W COM (Common Object Module) ªº¨ç¼Æ</title>
<titleabbrev>COM</titleabbrev>
<partintro>
<simpara>
³o¨Ç¨ç¼Æ¥u¦b Windows ª©¥»ªº PHP ¤¤¤~¦³¡C ¥¦Ì¦b PHP4 ¤¤¤~³Q¥[¤J¡C
</simpara>
</partintro>
<refentry id="function.com-load">
<refnamediv>
<refname>com_load</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>com_load</function></funcdef>
<paramdef>string <parameter>module name</parameter></paramdef>
<paramdef>string
<parameter>
<optional>server name</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.com-invoke">
<refnamediv>
<refname>com_invoke</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>com_invoke</function></funcdef>
<paramdef>resource <parameter>object</parameter></paramdef>
<paramdef>string <parameter>function_name</parameter></paramdef>
<paramdef>mixed
<parameter>
<optional>function parameters, ...</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.com-propget">
<refnamediv>
<refname>com_propget</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>com_propget</function></funcdef>
<paramdef>resource <parameter>object</parameter></paramdef>
<paramdef>string <parameter>property</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.com-get">
<refnamediv>
<refname>com_get</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>com_get</function></funcdef>
<paramdef>resource <parameter>object</parameter></paramdef>
<paramdef>string <parameter>property</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.com-propput">
<refnamediv>
<refname>com_propput</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>com_propput</function></funcdef>
<paramdef>resource <parameter>object</parameter></paramdef>
<paramdef>string <parameter>property</parameter></paramdef>
<paramdef>mixed <parameter>value</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.com-propset">
<refnamediv>
<refname>com_propset</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>com_propset</function></funcdef>
<paramdef>resource <parameter>object</parameter></paramdef>
<paramdef>string <parameter>property</parameter></paramdef>
<paramdef>mixed <parameter>value</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¥»¨ç¼Æ¬O <function>com_propput</function>ªº§O¦W¡C
</para>
</refsect1>
</refentry>
<refentry id="function.com-set">
<refnamediv>
<refname>com_set</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>com_set</function></funcdef>
<paramdef>resource <parameter>object</parameter></paramdef>
<paramdef>string <parameter>property</parameter></paramdef>
<paramdef>mixed <parameter>value</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
³o¨ç¼Æ¨ä¹ê¥u¬O <function>com_set</function> ªº§O¦W¡C
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/cybercash.xml
+++ phpdoc/hk/functions/cybercash.xml
<reference id="ref.cybercash">
<title>´£¨Ñ¥H¹q¤l³f¹ô¤è¦¡¥I´Úªº¨ç¼Æ</title>
<titleabbrev>Cybercash</titleabbrev>
<partintro>
<simpara>
³oùةҤ¶²Ðªº¨ç¼Æ¥u¦b¦¨¥\³]¸m <option
role="configure">--with-cybercash=[DIR]</option> ¿ï¶µ«á¤~¯à¤u§@¡C ³o¨Ç¨ç¼Æ¬O¨ì PHP4 ®É¤~³Q¥[¤Jªº¡C
</simpara>
</partintro>
<refentry id="function.cybercash-encr">
<refnamediv>
<refname>cybercash_encr</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>array <function>cybercash_encr</function></funcdef>
<paramdef>string <parameter>wmk</parameter></paramdef>
<paramdef>string <parameter>sk</parameter></paramdef>
<paramdef>string <parameter>inbuff</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¥»¨ç¼Æ¶Ç¦^¤@ÓÃöÁp¦r¯Á¤Þ¦¡ªº°}¦C¡C ¨ä¤¤ÃöÁp¦r¥]¬A
"errcode" ¡F ¦p "errcode" ¶Ç¦^ '«D' Ȫº¸Ü¡A ÃöÁp¦r·|¥]¬A "outbuff" (string)¡B
"outLth" (long) ©M "macbuff" (string)¡C
</para>
</refsect1>
</refentry>
<refentry id="function.cybercash-decr">
<refnamediv>
<refname>cybercash_decr</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>array <function>cybercash_decr</function></funcdef>
<paramdef>string <parameter>wmk</parameter></paramdef>
<paramdef>string <parameter>sk</parameter></paramdef>
<paramdef>string <parameter>inbuff</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¥»¨ç¼Æ¶Ç¦^¤@ÓÃöÁp¦r¯Á¤Þ¦¡ªº°}¦C¡C ¨ä¤¤ÃöÁp¦r¥]¬A
"errcode" ¡F ¦p "errcode" ¶Ç¦^ '«D' Ȫº¸Ü¡A ÃöÁp¦r·|¥]¬A "outbuff" (string)¡B
"outLth" (long) ©M "macbuff" (string)¡C
</para>
</refsect1>
</refentry>
<refentry id="function.cybercash-base64-encode">
<refnamediv>
<refname>cybercash_base64_encode</refname>
<refpurpose>???</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string
<function>cybercash_base64_encode</function>
</funcdef>
<paramdef>string <parameter>inbuff</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
</para>
</refsect1>
</refentry>
<refentry id="function.cybercash-base64-decode">
<refnamediv>
<refname>cybercash_base64_decode</refname>
<refpurpose></refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string
<function>cybercash_base64_decode</function>
</funcdef>
<paramdef>string <parameter>inbuff</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/dir.xml
+++ phpdoc/hk/functions/dir.xml
<reference id="ref.dir">
<title>¥Ø¿ý¨ç¼Æ</title>
<titleabbrev>Directories</titleabbrev>
<refentry id="function.chdir">
<refnamediv>
<refname>chdir</refname>
<refpurpose>§ïÅܧ@·~¥Ø¿ý</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>chdir</function></funcdef>
<paramdef>string <parameter>directory</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
§ó§ï PHP ªº¥Ø«e§@·~¥Ø¿ý¬° <parameter>directory</parameter>¡C ¦pªG¾Þ§@¤£³Q±µ¯Ç«h¶Ç¦^ FALSE¡A ¾Þ§@¦¨¥\«h¶Ç¦^ TRUE¡C
</para>
</refsect1>
</refentry>
<refentry id="class.dir">
<refnamediv>
<refname>dir</refname>
<refpurpose>¥Ø¿ýÃþ§O</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>new <function>dir</function></funcdef>
<paramdef>string <parameter>directory</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
³o¬O¤@Ӽҥ骫¥ó¾É¦V¦¡ªº¥Ø¿ýŪ¨ú¾÷¨î¡C °Ñ¼Æ<parameter>directory</parameter> ·|³Q¶}±Ò¡C ¤@¥¹¥Ø¿ýª«¥ó³Q¶}±Ò«á·|¦³¨âÓÄݩʡG handle ¥i¥H³Q¨ä¥Lªº¥Ø¿ý¨ç¼Æ¨Ï¥Î(¦p
<function>readdir</function>¡B <function>rewinddir</function>¡B
<function>closedir</function>) ¥t¤@Ó¬O path «h·|Àx¦s¸Ó¥Ø¿ýª«¥ó©Ò«ü¦Vªº¥Ø¿ý¡C ¹ï¦¹ª«¥ó¦³¤TÓ¾Þ§@¤èªk¡G read¡B rewind ©M close¡C
<example>
<title><function>Dir</function> Example</title>
<programlisting role="php">
$d = dir("/etc");
echo "Handle: ".$d->handle."<br>\n";
echo "Path: ".$d->path."<br>\n";
while($entry=$d->read()) {
echo $entry."<br>\n";
}
$d->close();
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<refentry id="function.closedir">
<refnamediv>
<refname>closedir</refname>
<refpurpose>µ²§ô¥Ø¿ýªº handle</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>closedir</function></funcdef>
<paramdef>int <parameter>dir_handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
Ãö³¬ <parameter>dir_handle</parameter> ©Ò«üªº¥Ø¿ý handle¡C ³oÓ handle ¤§«e¤@©wn¥Î<function>opendir</function> ¶}±Ò¡C
</para>
</refsect1>
</refentry>
<refentry id="function.opendir">
<refnamediv>
<refname>opendir</refname>
<refpurpose>¥´¶}¤@ӥؿý handle</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>opendir</function></funcdef>
<paramdef>string <parameter>path</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¶Ç¦^¤@Ó¥i¨Ñ¨ä¥L¥Ø¿ý¨ç¼Æ(<function>closedir</function>, <function>readdir</function>, <function>rewinddir</function>) ¥Îªº handle¡C
/para>
</refsect1>
</refentry>
<refentry id="function.readdir">
<refnamediv>
<refname>readdir</refname>
<refpurpose>±q¥Ø¿ý handle ¤¤Åª¨ú¸ê®Æ</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>readdir</function></funcdef>
<paramdef>int <parameter>dir_handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¶Ç¦^¥Ø¿ý¤¤¤U¤@ÓÀɮתºÀɦW¡C ª`·NÀɮצWºÙ¤£·|¸ò¦¸§Ç¶Ç¦^¡C
<example>
<title>List all files in the current directory</title>
<programlisting role="php">
<?php
$handle=opendir('.');
echo "Directory handle: $handle\n";
echo "Files:\n";
while (($file = readdir($handle))!==false) {
echo "$file\n";
}
closedir($handle);
?>
</programlisting>
</example>
</para>
<para>
ª`·N <function>readdir</function> ¤]·|¶Ç¦^ . ©M
.. ¨âÓ¦WºÙ(¤À§O¥Nªí¥Ø«e¥Ø¿ý©M¤÷¥Ø¿ý¡C ¦p§A¤£·Qn§â¥¦Ì¹LÃy±¼´N¦n¤F¡C¹³³oºy¡G
<example>
<title>
List all files in the current directory and strip out . and
..
</title>
<programlisting role="php">
<?php
$handle=opendir('.');
while (false!==($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "$file\n";
}
}
closedir($handle);
?>
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<refentry id="function.rewinddir">
<refnamediv>
<refname>rewinddir</refname>
<refpurpose>¦^±²¥Ø¿ý handle</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>rewinddir</function></funcdef>
<paramdef>int <parameter>dir_handle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
«·s³]¸m¥Ø¿ý handle <parameter>dir_handle</parameter>¡A ¥O¥¦«ü¦V¥Ø¿ýªº¤@¶}ÀY¡C
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/dl.xml
+++ phpdoc/hk/functions/dl.xml
<reference id="ref.dl">
<title>°ÊºA¸ü¤J¨ç¼Æ</title>
<titleabbrev>Dyn.loading</titleabbrev>
<refentry id="function.dl">
<refnamediv>
<refname>dl</refname>
<refpurpose>©óµ{¦¡°õ¦æ®É°ÊºA¸ü¤J¨ç¼Æ®w</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>dl</function></funcdef>
<paramdef>string <parameter>library</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¸ü¤JÀx¦s¦b
<parameter>library</parameter>Àɮפ¤ªº PHP §Ê®i¥\¯à¨ç¼Æ®w¡C ¥t½Ð°Ñ¦Ò PHP ½Õ
³]Àɤ¤ªº <link
linkend="ini.extension-dir">extension_dir</link> ¿ï¶µ¡C
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/filepro.xml
+++ phpdoc/hk/functions/filepro.xml
<reference id="ref.filepro">
<title>filePro ¤ä´©¨ç¼Æ</title>
<titleabbrev>filePro</titleabbrev>
<partintro>
<simpara>
¥H¤U¨ç¼Æ¥i¥H¥Î°ßŪ¼Ò¦¡®³¨ú¦s©ó filePro ¸ê®Æ®w¤¤ªº¼Æ¾Ú</simpara>
<simpara>
filePro ¬O Fiserv, Inc. ª`¥U¤Fªº°Ó¼Ð¡C §A¥i¥H¦b <ulink url="&url.filepro;">&url.filepro;</ulink>. ¤¤§ä¨ì§ó¦h¥¦ªº¸ê®Æ¡C</simpara>
</partintro>
<refentry id="function.filepro">
<refnamediv>
<refname>filepro</refname>
<refpurpose>Ū¨ú¨ÃÀËÅç¬M·ÓÀÉ (map file)</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>bool <function>filepro</function></funcdef>
<paramdef>string <parameter>directory</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
Ū¥X¨ÃÀˬd¬M·ÓÀÉ(map file)¡A ¦sµÛªº¬OÄæ¦ì¼Æµ¥¸ê®Æ</para>
<para>
¦]¬°°õ¦æ¹Lµ{¤¤¨Ã¤£·|°µ¸ê®ÆÂê©w¡A ©Ò¥H¦b¥Î PHP ¶}±Ò filepro Àɮ׫á´NnÁ×§K¦P®Éק復ùرªº¤º®e¡C</para>
</refsect1>
</refentry>
<refentry id="function.filepro-fieldname">
<refnamediv>
<refname>filepro_fieldname</refname>
<refpurpose>¨ú±o¬YÓÄæ¦ìªº¦W¦r</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>filepro_fieldname</function></funcdef>
<paramdef>int <parameter>field_number</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¶Ç¦^ <parameter>field_number</parameter> ©Ò¹ïÀ³ªºÄæ¦ì¦WºÙ¡C</para>
</refsect1>
</refentry>
<refentry id="function.filepro-fieldtype">
<refnamediv>
<refname>filepro_fieldtype</refname>
<refpurpose>¨ú±o¬YÄæ¦ìªº¸ê®Æ§ÎºA</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>filepro_fieldtype</function></funcdef>
<paramdef>int <parameter>field_number</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¶Ç¦^ <parameter>field_number</parameter> ©Ò¹ïÀ³ªºÄæ¦ì§ÎºA¡C</para>
</refsect1>
</refentry>
<refentry id="function.filepro-fieldwidth">
<refnamediv>
<refname>filepro_fieldwidth</refname>
<refpurpose>¨ú±o¬Y¤@Äæ¦ìªºªø«×</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>filepro_fieldwidth</function></funcdef>
<paramdef>int <parameter>field_number</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¶Ç¦^ <parameter>field_number</parameter> ©Ò¹ïÀ³ªºÄæ¦ì¼e«×</para>
</refsect1>
</refentry>
<refentry id="function.filepro-retrieve">
<refnamediv>
<refname>filepro_retrieve</refname>
<refpurpose>±q filePro ¸ê®Æ®w¤¤Åª¨ú¼Æ¾Ú</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>filepro_retrieve</function></funcdef>
<paramdef>int <parameter>row_number</parameter></paramdef>
<paramdef>int <parameter>field_number</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¶Ç¦^¦b¸ê®Æ®w¤¤«ü©w¦ì¸mªº¸ê®Æ¡C</para>
</refsect1>
</refentry>
<refentry id="function.filepro-fieldcount">
<refnamediv>
<refname>filepro_fieldcount</refname>
<refpurpose>ÂIºâ¦b¸ê®Æ®w¤¤¦³¦h¤ÖÓÄæ¦ì</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>filepro_fieldcount</function></funcdef>
<void/>
</funcprototype>
</funcsynopsis>
<para>
¶Ç¦^¤w¶}±Òªº¸ê®Æ®w¤¤¦³¦h¤ÖÓÄæ¦ì (¦C)¡C</para>
<para>
See also <function>filepro</function>.</para>
</refsect1>
</refentry>
<refentry id="function.filepro-rowcount">
<refnamediv>
<refname>filepro_rowcount</refname>
<refpurpose>ÂIºâ¸ê®Æ®w¤¤¦³¦h¤Öµ§¸ê®Æ</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>filepro_rowcount</function></funcdef>
<void/>
</funcprototype>
</funcsynopsis>
<para>
¶Ç¦^¤w¶}±Òªº¸ê®Æ®w¤¤¦³¦h¤Ö¦æ¸ê®Æ¡C</para>
<para>
See also <function>filepro</function>.</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/gettext.xml
+++ phpdoc/hk/functions/gettext.xml
<reference id="ref.gettext">
<title>GNU Gettext</title>
<titleabbrev>gettext</titleabbrev>
<partintro>
<simpara>
Gettext ¨ç¼Æ´£¨Ñ¤F NLS (Native Language Support) ªº
API ±µ¤fÅý§A¥i¥H³]¸m§Aªº PHP µ{¦¡¦¨¤£¦Pªº»y¨¥©M¦a°Ï¯S©Ê¡C ¦³Ãö³o¨Ç¨ç¼Æªº¸Ô²Ó¨Ï¥Îªk½Ð¬Ý GNU gettext ªº»¡©ú¤å¥ó¡E
</simpara>
</partintro>
<refentry id="function.bindtextdomain">
<refnamediv>
<refname>bindtextdomain</refname>
<refpurpose>³]©w¤@Ó domain °ìªº¸ô®|</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>bindtextdomain</function></funcdef>
<paramdef>string <parameter>domain</parameter></paramdef>
<paramdef>string <parameter>directory</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<function>bindtextdomain</function> ¨ç¼Æ³]©w domain °ìªº¸ô®|¡C
</para>
</refsect1>
</refentry>
<refentry id="function.dcgettext">
<refnamediv>
<refname>dcgettext</refname>
<refpurpose>´N¬Y¤@¦¸ªº´M§ä©¿²¤ domain °ìªº³]©w</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>dcgettext</function></funcdef>
<paramdef>string <parameter>domain</parameter></paramdef>
<paramdef>string <parameter>message</parameter></paramdef>
<paramdef>int <parameter>category</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¥»¨ç¼ÆÅý§A¥i¥H¦b³æ¤@¤@¦¸ªº«H®§´M§ä¤¤©¿²¤¥Ø«e³]©wªº domain °ì¡C ¥¦¤]¥i¥HÅý§A«ü©w¤@Ó«Ãþ¡C
</para>
</refsect1>
</refentry>
<refentry id="function.dgettext">
<refnamediv>
<refname>dgettext</refname>
<refpurpose>©¿²¤¥Ø«eªº°ì³]©w</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>dgettext</function></funcdef>
<paramdef>string <parameter>domain</parameter></paramdef>
<paramdef>string <parameter>message</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
<function>dgettext</function> ¨ç¼Æ¥i¥HÅý§A¦b¬Y¦¸«H®§´M§ä¤¤©¿²¤¥Ø«e³]©w¦nªº°ì¡C
</para>
</refsect1>
</refentry>
<refentry id="function.gettext">
<refnamediv>
<refname>gettext</refname>
<refpurpose>¦b¥Ø«eªº°ì¤¤§ä´M«H®§</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>gettext</function></funcdef>
<paramdef>string <parameter>message</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
¨ç¼Æ¦p¯à§ä´M¨ì¤@ÓͶµ«h·|¶Ç¦^¸Óͤå¬q¡A§_«h´N¶Ç¦^´£¥æµ¹¥¦ªº«H®§°Ñ¼Æ¡C §A¥i¥H¥Î©³½u¸¹·í§@¬O¥»¨ç¼Æªº§O¦W¡C
</para>
<example>
<title><function>Gettext</function>-check</title>
<programlisting>
<?php
// Set language to German
putenv ("LANG=de");
// Specify location of translation tables
bindtextdomain ("myPHPApp", "./locale");
// Choose domain
textdomain ("myPHPApp");
// Print a test message
print (gettext ("Welcome to My PHP Application"));
?>
</programlisting>
</example>
</refsect1>
</refentry>
<refentry id="function.textdomain">
<refnamediv>
<refname>textdomain</refname>
<refpurpose>³]¸m¤@Ó¹w©wªº domain °ì</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>textdomain</function></funcdef>
<paramdef>string
<parameter><optional>library</optional></parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
<para>
¨ç¼Æªº§@¬O¬O³]¸m¤@Ó¹w©wªº´M§ä°ì¡C ·í½Õ¥Î <function>gettext</function> ¨ç¼Æ®É«K·|¦b³oӰ줤§ä¡C ¨ç¼Æ¶Ç¦^ªº¬O¤§«e³]¸mªº°ì¡C ¦pªG½Õ¥Î®É¨S¦³µ¹¥X¥ô¦ó°Ñ¼Æ«h¥u·|¶Ç¦^¥Ø«e³]¸mªºÈ¦Ó¤£§@§ó§ï¡C
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/mail.xml
+++ phpdoc/hk/functions/mail.xml
<reference id="ref.mail">
<title>Mail ¹q¶l¨ç¼Æ</title>
<titleabbrev>Mail</titleabbrev>
<partintro>
<simpara>
<function>mail</function> Åý§A¥i¥H¶Ç°e¹q¤l¶l¥ó</simpara>
</partintro>
<refentry id="function.mail">
<refnamediv>
<refname>mail</refname>
<refpurpose>°e¥X¶l¥ó</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>bool <function>mail</function></funcdef>
<paramdef>string <parameter>to</parameter></paramdef>
<paramdef>string <parameter>subject</parameter></paramdef>
<paramdef>string <parameter>message</parameter></paramdef>
<paramdef>string <parameter><optional>additional_headers</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
<function>Mail</function> ¦Û°Ê§â
<parameter>message</parameter> °Ñ¼Æ¤¤ªº¤º®e¶Ç°e¨ì
<parameter>to</parameter>°Ñ¼Æ©Ò«ü©wªº¥Øªº¦a¥h¡C ¦pn§â°T®§¶Çµ¹³\¦h¤H¥i¥H¥Î³r¸¹ ¤À¹j¦a§}¾ã¥y©ñ¨ì<parameter>to</parameter>¤¤¡C</simpara>
<para>
<example>
<title>¶Ç°e«H¥ó</title>
<programlisting>
mail("rasmus <email protected>", "My Subject", "Line 1\nLine 2\nLine 3");
</programlisting>
</example></para>
<simpara>
²Ä¥|ӰѼƪº¤º®e·|³Q¥[¨ì¼ÐÀYªººò«á±¡A ¥¦ªº§@¥Î¬O´¡¤JÃB¥~ªº¼ÐÀY«H®§¡C ¥[¤J¦hÓ¼ÐÀY¥i¨Ï¥Î·s¦æ²Å¸¹¨Ó§â¨CÓ¼ÐÀY¤À¹j¶}¡C
</simpara>
<para>
<example>
<title>¦b°e«H®É¥[¤JÃB¥~ªº¼ÐÀY</title>
<programlisting>
mail("nobody <email protected>", "the subject", $message,
"From: webmaster@$SERVER_NAME\nReply-To: webmaster@$SERVER_NAME\nX-Mailer: PHP/" . phpversion());
</programlisting>
</example></para>
</refsect1>
</refentry>
<refentry id="function.ezmlm-hash">
<refnamediv>
<refname>ezmlm_hash</refname>
<refpurpose>pºâ¥X EZMLM ©Òn¨Ï¥Îªº hash «÷ÂøÈ</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>ezmlm_hash</function></funcdef>
<paramdef>string <parameter>addr</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
·í¨Ï¥Î MySQL ¸ê®Æ®w³n¥ó«O¦s¤@Ó EZMLM ¦¡ªº¶l¥ó¦Cªí®É <function>ezmlm_hash</function> ¥i¥H¥Î¨Ópºâ¥X©Ò»Ýnªº hash È¡C
</simpara>
<para>
<example>
<title>ºâ¥X hash Ȩå[¤J¤@Óq¾\¥Î¤á</title>
<programlisting>
$user = "kris <email protected>";
$hash = ezmlm_hash ($user);
$query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user);
$db->query($query); // using PHPLIB db interface
</programlisting>
</example>
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/pspell.xml
+++ phpdoc/hk/functions/pspell.xml
<reference id="ref.pspell">
<title>Pspell ¨ç¼Æ</title>
<titleabbrev>Pspell</titleabbrev>
<partintro>
<simpara>
¥H¤Uªº<function>pspell</function> ¨ç¼Æ¥i¥H¬d³æ¦rªº«÷ªk¨Ã´£¨Ñ«ØÄ³¡C
</simpara>
<simpara>
§A»Ýn¥ý¦w¸Ë aspell ©M pspell ªº¨ç¦¡®w¡A ¥i¤À§O¦b <ulink
url="&url.aspell;">&url.aspell;</ulink> ©M
<ulink url="&url.pspell;">&url.pspell;</ulink> ¨ú±o¡C ¦P®É¦b½sĶ PHP ®Én¥[¤W
<option role="configure">--with-pspell[=dir]</option> ³oÓ¿ï¶µ¡C
</simpara>
</partintro>
<refentry id="function.pspell-new">
<refnamediv>
<refname>pspell_new</refname>
<refpurpose>¸ü¤J·sªº¦r¨å</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>pspell_new</function></funcdef>
<paramdef>string <parameter>language</parameter></paramdef>
<paramdef>string
<parameter>
<optional>spelling</optional>
</parameter>
</paramdef>
<paramdef>string
<parameter>
<optional>jargon</optional>
</parameter>
</paramdef>
<paramdef>string
<parameter>
<optional>encoding</optional>
</parameter>
</paramdef>
<paramdef>int
<parameter>
<optional>mode</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
<function>Pspell_new</function> ¥´¶}¤@Ó·sªº¦r¨å¨Ã¶Ç¦^«ü¦V¸Ó¦r¨åªº¼Ð¸¹¡A ³o¼Ð¸¹¥Î¨Ó§i¶D¨ä¥Lªº«÷¦r¨ç¼Æn¥Îªº¦r¨å¦bþ¨à¡C
</simpara>
<para>
language °Ñ¼Æ¬O¨âÓ¦rªº»y¨¥½s¸¹¡A ³o¬O®Ú¾Ú ISO 639 ªº»y¨¥½s¸¹¡C §A¥i¥H«á¥[¤@Ó '-' ©Î '_' µM«á¦A«ü©ú¤@²Õ¨âÓ¦rªº ISO 3166 °ê®a¥N¸¹¡C
</para>
<para>
spelling °Ñ¼Æ«ü©w¹ï¬YºØ»y¨¥n¨Ï¥ÎþºØ«÷ªk¡C ¦n¹³^»y´N¦³ 'american', 'british', 'canadian' µ¥¿ï¾Ü¡C
</para>
<para>
jargon °Ñ¼Æ§t¦³ªþ§Oªº¸ê®Æ¥Î¨Ó¤À¿ì¨âÓ»y¨¥©M«÷ªk°Ñ¼Æ³£¬Û¦Pªº³æ¦rªí¡C
</para>
<para>
encoding °Ñ¼Æ«ü¥X³æ¦rªí©Ò±Ä¥Îªº½s½X¤èªk¡C ¦XªkªºÈ¦³ 'utf-8', 'iso8859-*', 'koi8-r',
'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned
32'¡C ³oӰѼƨèS¦³¼sªx´ú¸Õ¹L¦]¦¹¨Ï¥Îªº®ÉÔn¯d¯«¡C
</para>
<para>
mode °Ñ¼Æ«ü©w«÷¦rÀˬdªº¾Þ§@¼Ò¦¡¡A ¥]¬A¥H¤U´X¶µ¡G
<itemizedlist>
<listitem>
<simpara>
PSPELL_FAST - §Ö³t (´£¨Ñ³Ì¤Öªº«ØÄ³)
</simpara>
</listitem>
<listitem>
<simpara>
PSPELL_NORMAL - ¥¿±` (¦hÂI«ØÄ³)
</simpara>
</listitem>
<listitem>
<simpara>
PSPELL_BAD_SPELLERS - ºC³t («Ü¦h«÷ªk«ØÄ³)
</simpara>
</listitem>
<listitem>
<simpara>
PSPELL_RUN_TOGETHER - §â¦X¦¨¦r·í§@¬O«÷ªk¥¿½Tªº¦r¡C Ä´¦p "thecat" ·|·í§@¬O¥¿½Tªº¡C ³oÓ¼Ò¦¡¥u¼vÅT <function>pspell_check</function> ¨ç¼Æ;
<function>pspell_suggest</function> ¨ÌµM·|´£¥X×§ï«ØÄ³¡C
</simpara>
</listitem>
</itemizedlist>
Mode ªºÈ¨ä¹ê¬O¥Î¤W±¦C¥Xªº¤º©w±`¼ÆªºÈ§@¦ì¤¸²Õ¦X¡C ¤£¹L PSPELL_FAST, PSPELL_NORMAL ©M PSPELL_BAD_SPELLERS ¬O¤¬¥¸ªº©Ò¥H¤£¯àÅ|¥[¡A §A¥u¯à¿ï¨ä¤¤¤@Ó¡C
</para>
<para>
n¬Ý§ó¦hªº¨Ò¤l©M»¡©ú½Ð¨ì pspell ªººô¯¸¬Ý¥¦ªº¤åÄm¡G<ulink url="&url.pspell;">&url.pspell;</ulink>¡C
</para>
<para>
<example>
<title><function>Pspell_new</function></title>
<programlisting role="php">
$pspell_link = pspell_new ("en", "", "", "",
(PSPELL_FAST|PSPELL_RUN_TOGETHER));
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<refentry id="function.pspell-check">
<refnamediv>
<refname>pspell_check</refname>
<refpurpose>Àˬd³æ¦r</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>boolean <function>pspell_check</function></funcdef>
<paramdef>int <parameter>dictionary_link</parameter></paramdef>
<paramdef>string <parameter>word</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
<function>Pspell_check</function> Àˬd³æ¦rªº«÷ªk¡A ¥¿½T«h¶Ç¦^¯uÈ¡A «÷¿ù«h¶Ç¦^§_È¡C
</simpara>
<para>
<example>
<title><function>Pspell_check</function></title>
<programlisting role="php">
$pspell_link = pspell_new ("en");
if (pspell_check ($pspell_link, "testt")) {
echo "This is a valid spelling";
} else {
echo "Sorry, wrong spelling";
}
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<refentry id="function.pspell-suggest">
<refnamediv>
<refname>pspell_suggest</refname>
<refpurpose>¹ï³æ¦rªº«÷ªk§@¥X«ØÄ³</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>array <function>pspell_suggest</function></funcdef>
<paramdef>int <parameter>dictionary_link</parameter></paramdef>
<paramdef>string <parameter>word</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
<function>Pspell_suggest</function> ¶Ç¦^¤@Ó°}¦C¡A ¨ä¤¤¥]§t¤F³æ¦rªº©Ò¦³¥i¯à«÷ªk¡C
</simpara>
<para>
<example>
<title><function>Pspell_suggest</function></title>
<programlisting role="php">
$pspell_link = pspell_new ("en");
if (!pspell_check ($pspell_link, "testt")) {
$suggestions = pspell_suggest ($pspell_link, "testt");
for ($i=0; $i < count ($suggestions); $i++) {
echo "Possible spelling: " . $suggestions[$i] . "<br>";
}
}
</programlisting>
</example>
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/recode.xml
+++ phpdoc/hk/functions/recode.xml
<reference id="ref.recode">
<title>GNU Recode ¶½X«°t¨ç¼Æ</title>
<titleabbrev>Recode</titleabbrev>
<partintro>
<para>
¥»¨ç¼Æ´£¨Ñ¨Ï¥Î GNU Recode ¨ç¼Æ®w 3.5 ª©ªº¤¶±¡C n¥Î³o¨Ç¨ç¼Æªº¸Ü¦b½sĶ PHP ®Én¥[¤W
--with-recode ³oÓ¿ï¶µ¡C ¦P®É½sĶ«en¥ý¦b§Aªº¨t²Î¤¤¦w¸Ë¦n GNU Recode 3.5 ©Î§ó·sªºª©¥»¡C
</para>
<para>
¨ç¼Æªº¥\¯à¬O§âÀÉ®×Âà´«¦¨¦b¤£¦Pªº¦r²Å¶½s½X¶¡Âà´«¡C ·í¤£¯àÂà´«®É¨ç¼Æ·|¥Î¬Ûªñªº¦r²Å¥N´À©Î§â¦³°ÝÃDªº¦r¬Ù²¤±¼¡C ¨ç¼Æ¥iÂà´«¦h¹F 150 ºØ¦r²Å¶°¨Ã´X¥G¥i¥H¹ï¥ô·N¨âÃþ¦r²Å§@¬Û¤¬¶¡ªºÂà´«¡C ¨ç¼Æ¤ä´©¤j¦h¼Æ RFC 1345 ¤¤ªº¦r²Å¶°¡C
</para>
</partintro>
<refentry id="function.recode-string">
<refnamediv>
<refname>recode_string</refname>
<refpurpose>®Ú¾Ú´«½Xn¨D¹ï¤@¤å¥y§@Âà´«</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>recode_string</function></funcdef>
<paramdef>string <parameter>request</parameter></paramdef>
<paramdef>string <parameter>string</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
®Ú¾Ú´«½Xn¨D <parameter>request</parameter> ¹ï¤å¥y <parameter>string</parameter> ¶i¦æ¶½XÂà´«¾Þ§@¡C ¦pªGÂà´«¥¿±`«h¶Ç¦^ TRUE ¡A ¦pªGµLªk§¹¦¨¤u§@«h¶Ç¦^ FALSE¡C
</para>
<para>
´«½Xn¨Dªº§Î¦¡¥i¥H°Ñ¦Ò GNU Recode ªº»¡©ú¤å¥ó¡C ¤@Ó²³æªº¨Ò¤l¬O "lat1..iso646-de"¡C
</para>
</refsect1>
</refentry>
<refentry id="function.recode">
<refnamediv>
<refname>recode</refname>
<refpurpose>®Ú¾Ú´«½Xn¨D¹ï¤@¤å¥y§@Âà´«</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>recode_string</function></funcdef>
<paramdef>string <parameter>request</parameter></paramdef>
<paramdef>string <parameter>string</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<note>
<simpara>
³oÓ¨ç¼Æ¨ä¹ê¬O <function>recode_string</function> ªº§O¦W¡C ¥¦¦b PHP4 ¤¤¥X²{¡C
</simpara>
</note>
</refsect1>
</refentry>
<refentry id="function.recode-file">
<refnamediv>
<refname>recode_file</refname>
<refpurpose>
®Ú¾Ú´«½Xn¨D¹ï¤å¥ó¶i¦æ¶½XÂà´«¨Ã¦s¦¨¥t¤@¤å¥ó
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>bool <function>recode_file</function></funcdef>
<paramdef>int <parameter>input</parameter></paramdef>
<paramdef>int <parameter>output</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
®Ú¾Ú´«½Xn¨D§â <parameter>input</parameter> ©Ò«üªº¤å¥ó¶i¦æÂà½X¨Ã¦s¨ì¥Ñ <parameter>output</parameter> ©Ò«üªº¤å¥ó¤¤¡C §¹¦¨¾Þ§@«á¶Ç¦^ TRUE¡A µLªk§¹¦¨¾Þ§@«h¶Ç¦^ FALSE¡C
</para>
<para>
¨ç¼Æ¼È®É¤£¯à¹ï»·ºÝÀÉ®× (URLs) ¶i¦æÂà´«¡C ¿é¤J©M¿é¥X¤å¥ó³£¥²¶·¬O¦b¥»¾÷¤WªºÀɮסC
</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Index: phpdoc/hk/functions/aspell.xml
+++ phpdoc/hk/functions/aspell.xml
<reference id="ref.aspell">
<title>Aspell ¨ç¼Æ</title>
<titleabbrev>Aspell</titleabbrev>
<partintro>
<simpara>
¥H¤Uªº <function>aspell</function> ¨ç¼Æ¥i¥HÀˬd¤@Ó^¤å¦rªº«÷¼g§_¥¿½T¨Ã´£¨Ñ§ï¥¿ªº«ØÄ³¡C
</simpara>
<note><simpara>
³o¨Ç¨ç¼Æ¥u¯à¨Ï¥Î«Ü«ÜÂÂ(³Ì¦h .27.* or so) ª©¥»ªº aspell
¨ç¦¡®w¡C µL½×¬O¨ç¦¡®wÁÙ¬O³oÓ¼Ò²Õ¥»¨ªº¤ä´©ªA°È³£¤£·|´£¨Ñ¤F¡C ¦pªG§A·Q¥Î«÷¦rÀˬdªº¥\¯à½Ð§A¨Ï¥Î <link linkend="ref.pspell">pspell</link>¡C ¥¦§Q¥Î¤F pspell ¨ç¦¡®w¦P®É¥i¥H¤ä´©¸û·sª©¥»ªº aspell¡C
</simpara></note>
<simpara>
§A»Ýn¦w¸Ë aspell ¨ç¦¡®w¡A ¥i¥H¦b <ulink
url="&url.aspell;">&url.aspell;</ulink>¨ú±o¡C
</simpara>
</partintro>
<refentry id="function.aspell-new">
<refnamediv>
<refname>aspell_new</refname>
<refpurpose>¸ü¤J¤@Ó·sªº¦r¨å</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>int <function>aspell_new</function></funcdef>
<paramdef>string <parameter>master</parameter></paramdef>
<paramdef>string <parameter>personal</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
<function>Aspell_new</function> ¥´¶}¤@Ó·s¦r¨å¨Ã¶Ç¦^¸Ó¦r¨åªº¼Ð¸¹¥H¨Ñ¨ä¥Lªº aspell
¨ç¼Æ¨Ï¥Î¡C</simpara>
<para>
<example>
<title><function>Aspell_new</function></title>
<programlisting role="php">
$aspell_link=aspell_new ("english");
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<refentry id="function.aspell-check">
<refnamediv>
<refname>aspell_check</refname>
<refpurpose>Àˬd¤@Ó³æ¦r</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>boolean <function>aspell_check</function></funcdef>
<paramdef>int <parameter>dictionary_link</parameter></paramdef>
<paramdef>string <parameter>word</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
<function>Aspell_check</function> Àˬd¤@Ó³æ¦r¡A ¦p«÷ªk¥¿½T¶Ç¦^¯uÈ¡A «÷¿ù¤F«h¶Ç¦^§_È¡C </simpara>
<para>
<example>
<title><function>Aspell_check</function></title>
<programlisting>
$aspell_link=aspell_new ("english");
if (aspell_check ($aspell_link,"testt")) {
echo "This is a valid spelling";
} else {
echo "Sorry, wrong spelling";
}
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<refentry id="function.aspell-check-raw">
<refnamediv>
<refname>aspell_check-raw</refname>
<refpurpose>
¦b¤£§ïÅܳæ¦rªº¤j¤p¼g©M«e«áªÅ¥Õ®æªº±ø¥ó¤UÀˬd³æ¦rªº«÷ªk¡C
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>boolean <function>aspell_check_raw</function></funcdef>
<paramdef>int <parameter>dictionary_link</parameter></paramdef>
<paramdef>string <parameter>word</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<simpara>
<function>Aspell_check_raw</function> Àˬd«÷¦r¦ý¨Ã¤£·|¥ý°µ¤j¤p¼gÂà´«©Îç°£«e«áªÅ®æ¡C «÷¹ï¤F¶Ç¦^¯u¡A ¿ù«h¶Ç¦^§_¡C
</simpara>
<para>
<example>
<title><function>Aspell_check_raw</function></title>
<programlisting role="php">
$aspell_link=aspell_new ("english");
if (aspell_check_raw ($aspell_link, "test")) {
echo "This is a valid spelling";
} else {
echo "Sorry, wrong spelling";
}
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<refentry id="function.aspell-suggest">
<refnamediv>
<refname>aspell_suggest</refname>
<refpurpose>«ØÄ³³æ¦rªº¥¿½T«÷ªk</refpurpose

