cvs: peardoc /ja/package/html html-quickform.xml /ja/package/html/html-quickform tutorial.xml
/ja/package/html/html-quickform-controller/html-quickform-action perform.xml /ja/package/html/html-quickform-controller/html-quickform-page
addaction.xml buildform.xml getbuttonname.xml handle.xml html-quickform-page.xml isformbuilt.xml /ja/package/html/html-quickform/html-quickform
accept.xml addelement.xml addformrule.xml apiversion.xml createelement.xml elementexists.xml errormessage.xml getmaxfilesize.xml html-quickform.xml
iserror.xml istyperegistered.xml removeelement.xml setmaxfilesize.xml updateelementattr.xml
| From: | TAKAGI Masahiro | Date: | Thu, 01 Jun 2006 13:27:54 +0000 |
| Subject: | cvs: peardoc /ja/package/html html-quickform.xml /ja/package/html/html-quickform tutorial.xml /ja/package/html/html-quickform-controller/html-quickform-action perform.xml /ja/package/html/html-quickform-controller/html-quickform-page addaction.xml buildform.xml getbuttonname.xml handle.xml html-quickform-page.xml isformbuilt.xml /ja/package/html/html-quickform/html-quickform accept.xml addelement.xml addformrule.xml apiversion.xml createelement.xml elementexists.xml errormessage.xml getmaxfilesize.xml html-quickform.xml iserror.xml istyperegistered.xml removeelement.xml setmaxfilesize.xml updateelementattr.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7970@lists.php.net to get a copy of this message | ||
takagi Thu Jun 1 13:27:54 2006 UTC
Modified files:
/peardoc/ja/package/html/html-quickform/html-quickform
updateelementattr.xml
setmaxfilesize.xml
removeelement.xml
istyperegistered.xml
iserror.xml
html-quickform.xml
getmaxfilesize.xml
errormessage.xml
elementexists.xml
createelement.xml
apiversion.xml
addformrule.xml
addelement.xml
accept.xml
/peardoc/ja/package/html/html-quickform tutorial.xml
/peardoc/ja/package/html/html-quickform-controller/html-quickform-page
isformbuilt.xml
html-quickform-page.xml
handle.xml
getbuttonname.xml
buildform.xml
addaction.xml
/peardoc/ja/package/html/html-quickform-controller/html-quickform-action
perform.xml
/peardoc/ja/package/html html-quickform.xml
Log:
sync with en.
http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml Thu Jun 1 13:27:53 2006 @@ -1,5 +1,6 @@ -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.updateelementattr"> <refnamediv> <refname>HTML_QuickForm::updateElementAttr()</refname> @@ -21,6 +22,14 @@ <refsect1 id="package.html.html-quickform.html-quickform.updateelementattr.desc"> &title.desc; <para>ã²ã¨ã¤ã¾ãã¯è¤æ°ã®è¦ç´ ã®å±æ§ãæ´æ°ãã¾ãã</para> + <warning> + <para> + ã°ã«ã¼ãããã°ã«ã¼ãããã¨ã«ããè¦ç´ (dateãhierselect) + ã§ã¯åä½ããªãããããã¾ããã + ãããã®è¦ç´ ã«å¯¾ãã¦ç¢ºå®ã«åä½ãããã«ã¯ã + ã°ã«ã¼ãåãããè¦ç´ ã®å±æ§ãæåã§æ´æ°ããªããã°ãªãã¾ããã + </para> + </warning> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.updateelementattr.param"> &title.param; @@ -46,7 +55,7 @@ </term> <listitem> <para> - HTML屿§ã®é åãæååã§ãã + HTML 屿§ã®é åãæååã§ãã </para> </listitem> </varlistentry> @@ -56,7 +65,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.updateelementattr.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.updateelementattr.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.2 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.setmaxfilesize"> <refnamediv> <refname>HTML_QuickForm::setMaxFileSize()</refname> - <refpurpose>MAX_FILE_SIZEã®é ãè¦ç´ ã®å¤ãè¨å®ãã</refpurpose> + <refpurpose>MAX_FILE_SIZE é ãè¦ç´ ã®å¤ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -19,7 +20,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.setmaxfilesize.desc"> &title.desc; - <para>MAX_FILE_SIZEã®é ãè¦ç´ ã®å¤ãè¨å®ãã¾ãã(ãã¡ã¤ã«ã¢ãããã¼ãã«ä½¿ç¨ãã¾ãã)</para> + <para>MAX_FILE_SIZE é ãè¦ç´ ã®å¤ãè¨å®ãã¾ã (ãã¡ã¤ã«ã¢ãããã¼ãã«ä½¿ç¨ãã¾ã)ã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.setmaxfilesize.param"> &title.param; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml Thu Jun 1 13:27:53 2006 @@ -1,5 +1,6 @@ -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.removeelement"> <refnamediv> <refname>HTML_QuickForm::removeElement()</refname> @@ -11,7 +12,7 @@ require_once 'HTML/QuickForm.php'; </funcsynopsisinfo> <funcprototype> - <funcdef>void <function>HTML_QuickForm::removeElement</function></funcdef> + <funcdef>object &<function>HTML_QuickForm::removeElement</function></funcdef> <paramdef>string <parameter>$elementName</parameter></paramdef> <paramdef>boolean <parameter> <optional>$removeRules = &true;</optional></parameter></paramdef> </funcprototype> @@ -53,6 +54,12 @@ </variablelist> </para> </refsect1> + <refsect1 id="package.html.html-quickform.html-quickform.removeelement.return"> + &title.returns; + <para> + åé¤ãããè¦ç´ ã¸ã®åç §ãè¿ãã¾ãã + </para> + </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.removeelement.throws"> &title.throws; <para> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.istyperegistered"> <refnamediv> <refname>HTML_QuickForm::isTypeRegistered()</refname> - <refpurpose>ãã©ã¼ã è¦ç´ ã®ç¨®é¡ããµãã¼ãããã調ã¹ã¾ã</refpurpose> + <refpurpose>ãã©ã¼ã è¦ç´ ã®ç¨®é¡ããµãã¼ãããã調ã¹ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -48,7 +49,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.istyperegistered.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.istyperegistered.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml:1.3 peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml:1.4 --- peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml:1.3 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.3 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.4 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.iserror"> <refnamediv> @@ -19,9 +20,9 @@ <refsect1 id="package.html.html-quickform.html-quickform.iserror.desc"> &title.desc; - <para>çµæãã¨ã©ã¼ãã©ããç¥ããã¾ãã(ä¾ãã° + <para>çµæãã¨ã©ã¼ãã©ããç¥ããã¾ã (ä¾ãã° <parameter>$value</parameter> ã - <classname>HTML_QuickForm_Error</classname>) ã®ã¤ã³ã¹ã¿ã³ã¹ãã©ãã</para> + <classname>HTML_QuickForm_Error</classname> ã®ã¤ã³ã¹ã¿ã³ã¹ãã©ãã)ã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.iserror.param"> &title.param; @@ -46,7 +47,7 @@ &title.returns; <para> <emphasis>return</emphasis> - <parameter>$value</parameter>ãã¨ã©ã¼ãã©ããã + <parameter>$value</parameter> ãã¨ã©ã¼ãã©ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.iserror.throws"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml:1.1 peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml:1.2 --- peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml:1.1 Sat Mar 20 13:06:19 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml Thu Jun 1 13:27:53 2006 @@ -1,8 +1,9 @@ -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.html-quickform"> <refnamediv> - <refname>constructor HTML_QuickForm::HTML_QuickForm()</refname> + <refname>ã³ã³ã¹ãã©ã¯ã¿ HTML_QuickForm::HTML_QuickForm()</refname> <refpurpose>ã¯ã©ã¹ã®ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> @@ -17,6 +18,7 @@ <paramdef>string <parameter> <optional>$action = ''</optional></parameter></paramdef> <paramdef>string <parameter> <optional>$target = '_self'</optional></parameter></paramdef> <paramdef>mixed <parameter> <optional>$attributes = &null;</optional></parameter></paramdef> + <paramdef>bool <parameter> <optional>$trackSubmit = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -90,13 +92,29 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term> + + &type.bool; + <parameter>$trackSubmit</parameter> + </term> + <listitem> + <para> + (ãªãã·ã§ã³) ãã©ã¼ã ããéä¿¡ããããã¨ã確èªããæ©è½ã + 使ç¨ãããããhidden ãã£ã¼ã«ãã追å ãããã©ãããæå®ãã¾ãã + <varname>$_GET</varname> ããã㯠<varname>$_POST</varname> + ã®å¤ã«ãã®ãã£ã¼ã«ããåå¨ããªãå ´åã + ãã©ã¼ã ã¯éä¿¡ãããªãã£ãã¨èãããã¾ãã + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.html-quickform.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.html-quickform.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml:1.3 peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml:1.4 --- peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml:1.3 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.3 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.4 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.getmaxfilesize"> <refnamediv> <refname>HTML_QuickForm::getMaxFileSize()</refname> - <refpurpose>MAX_FILE_SIZEé ãè¦ç´ ã®å¤ãè¿ã</refpurpose> + <refpurpose>MAX_FILE_SIZE é ãè¦ç´ ã®å¤ãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -19,7 +20,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.getmaxfilesize.desc"> &title.desc; - <para>MAX_FILE_SIZEé ãè¦ç´ ã®å¤ãè¿ãã¾ãã(ãã¡ã¤ã«ã¢ãããã¼ãã§ä½¿ç¨ãã¾ãã)</para> + <para>MAX_FILE_SIZE é ãè¦ç´ ã®å¤ãè¿ãã¾ã (ãã¡ã¤ã«ã¢ãããã¼ãã§ä½¿ç¨ãã¾ã)ã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.getmaxfilesize.return"> &title.returns; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.2 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.errormessage"> <refnamediv> @@ -19,7 +20,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.errormessage.desc"> &title.desc; - <para>QuickFormã¨ã©ã¼ã³ã¼ãããã¨ã©ã¼ã¡ãã»ã¼ã¸ãè¿ãã¾ãã</para> + <para>QuickForm ã¨ã©ã¼ã³ã¼ãããã¨ã©ã¼ã¡ãã»ã¼ã¸ãè¿ãã¾ãã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.errormessage.param"> &title.param; @@ -33,7 +34,7 @@ </term> <listitem> <para> - int error code + æ´æ°ã®ã¨ã©ã¼ã³ã¼ãã </para> </listitem> </varlistentry> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.2 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.elementexists"> <refnamediv> @@ -20,7 +21,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.elementexists.desc"> &title.desc; <para> - ããè¦ç´ ããã©ã¼ã ã«ããå ´åã¯&true;ããããã§ãªããã°&false;ãè¿ãã + ããè¦ç´ ããã©ã¼ã ã«ããå ´å㯠&true; ããããã§ãªããã° &false; ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.elementexists.param"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml:1.3 peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml:1.4 --- peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml:1.3 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.3 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.4 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.createelement"> <refnamediv> @@ -19,8 +20,18 @@ <refsect1 id="package.html.html-quickform.html-quickform.createelement.desc"> &title.desc; - <para>ä¸ãããã種é¡ã®è¦ç´ ããã©ã¼ã ã«ä½æãã¾ããThis method accepts variable number of parameters, their meaning and count depending on <parameter>$elementType</parameter>.</para> - <para>Parameters starting from second will be passed to the element's constructor, consult the docs for the <link linkend="package.html.html-quickform.intro-elements">appropriate element</link> to find out which parameters to pass.</para> + <para> + ä¸ãããã種é¡ã®è¦ç´ ããã©ã¼ã ã«ä½æãã¾ãã + ãã®ã¡ã½ãããåãåããã©ã¡ã¼ã¿ã®æ°ã¯å¯å¤ã§ãã + ãã©ã¡ã¼ã¿ã®æå³ãæ°ã¯ã<parameter>$elementType</parameter> + ã«ãã£ã¦å¤ããã¾ãã + </para> + <para> + 2 çªç®ä»¥éã®ãã©ã¡ã¼ã¿ã¯ãåè¦ç´ ã®ã³ã³ã¹ãã©ã¯ã¿ã«æ¸¡ããã¾ãã + ã©ã®ãããªãã©ã¡ã¼ã¿ã渡ããããã«ã¤ãã¦ã¯ã + <link linkend="package.html.html-quickform.intro-elements">ããããã®è¦ç´ </link> + ã®ããã¥ã¡ã³ããåç §ãã ããã + </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.createelement.param"> &title.param; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.2 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.apiversion"> <refnamediv> <refname>HTML_QuickForm::apiVersion()</refname> - <refpurpose>ç¾å¨ã®APIã®ãã¼ã¸ã§ã³ãè¿ã</refpurpose> + <refpurpose>ç¾å¨ã® API ã®ãã¼ã¸ã§ã³ãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -19,7 +20,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.apiversion.desc"> &title.desc; - <para>ç¾å¨ã®APIã®ãã¼ã¸ã§ã³ãè¿ãã¾ãã</para> + <para>ç¾å¨ã® API ã®ãã¼ã¸ã§ã³ãè¿ãã¾ãã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.apiversion.throws"> &title.throws; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml:1.1 peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml:1.2 --- peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml:1.1 Tue Feb 24 16:35:22 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.addformrule"> <refnamediv> @@ -20,8 +21,11 @@ <refsect1 id="package.html.html-quickform.html-quickform.addformrule.desc"> &title.desc; <para> -This should be used when you want to add a rule involving several fields or if you want to use some completely custom validation for your form. -The rule function/method should return &true; in case of successful validation and array('element name' => 'error') when there were errors. +è¤æ°ã®ãã£ã¼ã«ãã«ã¾ãããè¦åã追å ãããå ´åã +ãããã¯ãã©ã¼ã ã«ã¾ã£ããç¬èªã®æ¤è¨¼ãé©ç¨ãããå ´åã« +ããã使ç¨ãã¾ããæ¤è¨¼ã«æåããå ´åã¯ã +颿°/ã¡ã½ãã㯠&true; ãè¿ãã¾ããã¾ããã¨ã©ã¼ãçºçããå ´å㯠+é å array('è¦ç´ å' => 'ã¨ã©ã¼') ãè¿ããã¾ãã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.addformrule.param"> @@ -61,7 +65,7 @@ <row> <entry><constant>QUICKFORM_INVALID_RULE</constant></entry> <entry>Callback function does not exist in HTML_QuickForm::addFormRule()</entry> - <entry>callback_ã¨ãã¦åå¨ããªã颿°ã®ååã使ç¨ãããã¨ãã¾ãã</entry> + <entry>callback ã¨ãã¦åå¨ããªã颿°ã®ååã使ç¨ãããã¨ãã¾ãã</entry> <entry>ã¹ãã«ãã§ãã¯ããã¦ãã ããã</entry> </row> </tbody> @@ -79,7 +83,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.addformrule.example"> &title.example; <example> - <title><function>addFormRule</function>ã®ä½¿ç¨æ³</title> + <title><function>addFormRule</function> ã®ä½¿ç¨æ³</title> <programlisting role="php"> <![CDATA[ <?php @@ -87,18 +91,18 @@ $form = new HTML_QuickForm(); -// the function checks whether the passwords are the same +// ãã®é¢æ°ã¯ããã¹ã¯ã¼ããåããã©ããã調ã¹ã¾ã function cmpPass($fields) { if (strlen($fields['passwd1']) && strlen($fields['passwd2']) && $fields['passwd1'] != $fields['passwd2']) { - return array('passwd1' => 'Passwords are not the same'); + return array('passwd1' => 'ãã¹ã¯ã¼ããéãã¾ã'); } return true; } -$form->addElement('password', 'passwd1', 'Enter password'); -$form->addElement('password', 'passwd2', 'Confirm password'); +$form->addElement('password', 'passwd1', 'ãã¹ã¯ã¼ããå ¥åãã¦ãã ãã'); +$form->addElement('password', 'passwd2', 'ããä¸åº¦ãã¹ã¯ã¼ããå ¥åãã¦ãã ãã'); $form->addFormRule('cmpPass'); ?> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml:1.5 peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml:1.6 --- peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml:1.5 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.addelement"> <refnamediv> @@ -19,7 +19,12 @@ <refsect1 id="package.html.html-quickform.html-quickform.addelement.desc"> &title.desc; - <para>ãã©ã¼ã ã«è¦ç´ ã追å ãã¾ããIf <parameter>$element</parameter> is a string representing an element type, then this method accepts variable number of parameters, their meaning and count depending on element type.</para> + <para> + ãã©ã¼ã ã«è¦ç´ ã追å ãã¾ãã + <parameter>$element</parameter> ãè¦ç´ åã®æåå表ç¾ã§ããå ´åã¯ã + ãã®ã¡ã½ããã¯å¯å¤å¼æ°ãåãåãã¾ãããããã®å¼æ°ã®æå³ããã³å¼æ°ã®æ°ã¯ã + è¦ç´ ã®åã«ãã£ã¦ç°ãªãã¾ãã + </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.addelement.param"> &title.param; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/accept.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/accept.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/accept.xml:1.1 peardoc/ja/package/html/html-quickform/html-quickform/accept.xml:1.2 --- peardoc/ja/package/html/html-quickform/html-quickform/accept.xml:1.1 Tue Feb 24 16:35:22 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/accept.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.accept"> <refnamediv> @@ -21,7 +22,7 @@ &title.desc; <para> ã¬ã³ãã©ãåãåãã¾ãã - ãã®æ¹æ³ã¯ãã¸ã¿ã¼ã»ãã¶ã¤ã³ã»ãã¿ã¼ã³å®è£ ä¸é¨ã§ãã + ãã®ã¡ã½ããã¯ããã¸ã¿ã¼ã»ãã¶ã¤ã³ãã¿ã¼ã³ã®å®è£ ã®ä¸é¨ã§ãã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.accept.param"> @@ -46,7 +47,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.accept.throws"> &title.throws; <para> - <emphasis>throws</emphasis> no exceptions thrown + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.accept.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/tutorial.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform/tutorial.xml diff -u peardoc/ja/package/html/html-quickform/tutorial.xml:1.1 peardoc/ja/package/html/html-quickform/tutorial.xml:1.2 --- peardoc/ja/package/html/html-quickform/tutorial.xml:1.1 Wed Oct 13 10:39:40 2004 +++ peardoc/ja/package/html/html-quickform/tutorial.xml Thu Jun 1 13:27:53 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: haruki Status: partial --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: haruki Status: ready --> <refentry id="package.html.html-quickform.tutorial"> <refnamediv> <refname>ã¯ã¤ãã¯ã¹ã¿ã¼ãã¬ã¤ã</refname> @@ -16,7 +16,7 @@ </para> <para> Keith Edmunds ã«ãã£ã¦æ¸ããããQuickForm ã®ä½¿ç¨æ³ã«ã¤ãã¦ã® - <ulink url="http://www.thelinuxconsultancy.co.uk/quickform.html">ããã¶ãé·ãã®ãã¥ã¼ããªã¢ã«</ulink> + <ulink url="http://www.thelinuxconsultancy.co.uk/quickform.php">ããã¶ãé·ãã®ãã¥ã¼ããªã¢ã«</ulink> ãåèã¨ãªãã§ãããã </para> </refsect1> @@ -34,21 +34,21 @@ // ãã©ã¼ã è¦ç´ ã®ããã©ã«ãå¤ãè¨å® $form->setDefaults(array( - 'name' => 'Joe User' + 'name' => 'å±±ç°å¤ªé' )); // ãã©ã¼ã ã«è¦ç´ ãããã¤ã追å -$form->addElement('header', null, 'QuickForm tutorial example'); -$form->addElement('text', 'name', 'Enter your name:', array('size' => 50, 'maxlength' => 255)); -$form->addElement('submit', null, 'Send'); +$form->addElement('header', null, 'QuickForm ãã¥ã¼ããªã¢ã«ã®ãµã³ãã«'); +$form->addElement('text', 'name', 'ååãå ¥åãã¦ãã ãã:', array('size' => 50, 'maxlength' => 255)); +$form->addElement('submit', null, 'éä¿¡'); // ãã£ã«ã¿ã¨æ¤è¨¼ã«ã¼ã«ã追å $form->applyFilter('name', 'trim'); -$form->addRule('name', 'Please enter your name', 'required', null, 'client'); +$form->addRule('name', 'ååãå ¥åãã¦ãã ãã', 'required', null, 'client'); // ãã©ã¼ã ã®å¦¥å½æ§æ¤è¨¼ if ($form->validate()) { - echo '<h1>Hello, ' . htmlspecialchars($form->exportValue('name')) . '!</h1>'; + echo '<h1>ããã«ã¡ã¯ã' . htmlspecialchars($form->exportValue('name')) . 'ãã!</h1>'; exit; } @@ -72,126 +72,150 @@ å¾ã§ããã®HTML_QuickForm ãªãã¸ã§ã¯ãã«ãè¦ç´ ã«å¯¾å¿ãããªãã¸ã§ã¯ããä»ã®å¿ è¦ãªæ å ±ãå ãã¦ãããã¨ã¨ãªãã¾ãã ããã§ã<link linkend="package.html.html-quickform.html-quickform.html-quickform">ã³ã³ã¹ãã©ã¯ã¿</link>ã«ã¯ã ãã©ã¼ã ã®åç§°ã®ã¿ã渡ããä»ã®ãã©ã¡ã¼ã¿ã¯ããã©ã«ãå¤ã使ããã¦ãã¾ãã - ãã©ã¼ã ã® method 屿§ã«ã¯ <literal>POST</literal> ããaction 屿§ã«ã¯ç¾å¨ã®ãã¡ã¤ã«åã¨ãªãã¾ãã - When using QuickForm, it is easier to keep all the form related logic in one file. + ãã©ã¼ã ã® method 屿§ã®ããã©ã«ãå¤ã¯ <literal>POST</literal>ããã㦠+ action 屿§ã®ããã©ã«ãå¤ã¯ç¾å¨ã®ãã¡ã¤ã«åã¨ãªãã¾ããQuickForm ã使ç¨ããéã«ã¯ã + ãã©ã¼ã ã«é¢é£ãããã¸ãã¯ãã²ã¨ã¤ã®ãã¡ã¤ã«ã«ã¾ã¨ãã¦ããã¨æ¥½ã«ãªãã¾ãã </para> <para> -You might guess that +次ã®ã³ã¼ãã <literal>name</literal> è¦ç´ ã®ããã©ã«ãå¤ã <literal>'å±±ç°å¤ªé'</literal> +ã«è¨å®ãããã®ã§ãããã¨ã¯ãããããäºæ³ãä»ãã§ãããã <programlisting role="php"> <![CDATA[ $form->setDefaults(array( - 'name' => 'Joe User' + 'name' => 'å±±ç°å¤ªé' )); ]]> </programlisting> -sets the default value for <literal>name</literal> element to <literal>'Joe User'</literal>. QuickForm has the -concept of default values (set via <link linkend="package.html.html-quickform.html-quickform.setdefaults"><function>setDefaults</function></link> method) and -constant ones (set via <link linkend="package.html.html-quickform.html-quickform.setconstants"><function>setConstants</function></link>). -The difference between them is that user's input overrides default values but not constant ones. +QuickForm ã«ã¯ãããã©ã«ãå¤ +(<link linkend="package.html.html-quickform.html-quickform.setdefaults"><function>setDefaults</function></link> ã¡ã½ããã§è¨å®ãã¾ã) +ããã³å®æ°å¤ +(<link linkend="package.html.html-quickform.html-quickform.setconstants"><function>setConstants</function></link> ã¡ã½ããã§è¨å®ãã¾ã) +ã¨ããæ¦å¿µãããã¾ãããããã®éãã¯ãããã©ã«ãå¤ã¯ã¦ã¼ã¶ã®å ¥åã«ãã£ã¦ä¸æ¸ãããããã +宿°å¤ã¯ä¸æ¸ããããªãã¨ããç¹ã§ãã </para> <para> -Our form will consist of three elements: +ä»åã®ãã©ã¼ã ã¯ã3 ã¤ã®è¦ç´ ããæ§æããã¦ãã¾ãã <programlisting role="php"> <![CDATA[ -$form->addElement('header', null, 'QuickForm tutorial example'); -$form->addElement('text', 'name', 'Enter your name:', array('size' => 50, 'maxlength' => 255)); -$form->addElement('submit', null, 'Send'); +$form->addElement('header', null, 'QuickForm ãã¥ã¼ããªã¢ã«ã®ãµã³ãã«'); +$form->addElement('text', 'name', 'ååãå ¥åãã¦ãã ãã:', array('size' => 50, 'maxlength' => 255)); +$form->addElement('submit', null, 'éä¿¡'); ]]> </programlisting> -The first one is not the 'real' element, it is just a heading to improve presentation. The second one -actually is a text input box and the third is a submit button. Note that parameters for <link linkend="package.html.html-quickform.html-quickform.addelement"><function>addElement</function></link> -method have different meanings for different elements. That is so because they are actually passed to -these elements' constructors. +æåã®è¦ç´ ã¯ãæ¬æ¥ã®ãè¦ç´ ã§ã¯ããã¾ãããããã¯åã«è¦æ ããããããããã®è¦åºãã§ãã +2 çªç®ã®è¦ç´ ã¯ããã¹ãå ¥åæ¬ã§ã3 çªç®ã¯éä¿¡ãã¿ã³ã§ãã +<link linkend="package.html.html-quickform.html-quickform.addelement"><function>addElement</function></link> +ã¡ã½ããã®ãã©ã¡ã¼ã¿ã¯ãè¦ç´ ã®åã«ãã£ã¦æå³ãç°ãªã£ã¦ãããã¨ã«æ³¨æãã¾ãããã +ãªããªãããã®ãã©ã¡ã¼ã¿ã¯ããããã®è¦ç´ ã®ã³ã³ã¹ãã©ã¯ã¿ã«æ¸¡ããããã®ã ããã§ãã </para> </refsect2> <refsect2 id="package.html.html-quickform.tutorial.firstform.checking"> - <title>Checking input</title> + <title>å ¥åã®ãã§ãã¯</title> <para> -The line +次ã®è¡ã§ã¯ã'name' è¦ç´ ã®å¤ã«å¯¾ãã +<link linkend="package.html.html-quickform.intro-validation.filters">ãã£ã«ã¿</link> +ãå®ç¾©ãã¦ãã¾ãã <programlisting role="php"> <![CDATA[ $form->applyFilter('name', 'trim'); ]]> </programlisting> -defines a <link linkend="package.html.html-quickform.intro-validation.filters">filter</link> for the 'name' element value - the function that will be applied to it after form submit. -In this case it is a builtin <ulink url="&url.php.lookup;trim"><function>trim</function></ulink> function, -but can be any valid <ulink url="&url.php.callback;"><type>callback</type></ulink>. Thus we will strip -all whitespace from the name, as we do not actually need it and as we want to be sure that a name was entered, -not just some spaces. +ãã£ã«ã¿ã¨ã¯ããã©ã¼ã ãéä¿¡ãããéã«è¦ç´ ã®å¤ã«å¯¾ãã¦é©ç¨ããã颿°ã®ãã¨ã§ãã +ãã®ä¾ã®å ´åã¯çµã¿è¾¼ã¿ã® <ulink url="&url.php.lookup;trim"><function>trim</function></ulink> +颿°ã使ç¨ãã¦ãã¾ããããã以å¤ã«ãä»»æã® +<ulink url="&url.php.callback;"><type>callback</type></ulink> ã使ç¨ãããã¨ãã§ãã¾ãã +ããã§ã¯ãå ¥åãããååãã空ç½ãåãé¤ãã¦ãã¾ããã¨ããã®ãã +空ç½ã¯ä¸è¦ãªãã®ã§ãããåã«ç©ºç½ãå ¥åãããã®ã§ã¯ãªã +ãã¡ãã¨ååãå ¥åãããã®ã ã¨ãããã¨ã確èªãããããã§ãã </para> <para> -Next we define a <link linkend="package.html.html-quickform.intro-validation.rules">rule</link> for the name field: +次ã«ãååæ¬ã® <link linkend="package.html.html-quickform.intro-validation.rules">è¦å</link> +ãå®ç¾©ãã¾ãã <programlisting role="php"> <![CDATA[ -$form->addRule('name', 'Please enter your name', 'required', null, 'client'); +$form->addRule('name', 'ååãå ¥åãã¦ãã ãã', 'required', null, 'client'); ]]> </programlisting> -This means that QuickForm will display an error message if the name was not entered. The -<literal>'client'</literal> modifier is here to switch on client-side JavaScript validation in addition to -server-side one. Note also that QuickForm will automatically mark required fields in the form. +ãã®ã³ã¼ãã®æå³ã¯ãååãå ¥åãããªãã£ãå ´åã« QuickForm ãã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ããã¨ãããã¨ã§ãã +<literal>'client'</literal> ã¨ããæå®ãããã¨ããµã¼ãå´ã§ã®æ¤è¨¼ã ãã§ãªã +ã¯ã©ã¤ã¢ã³ãå´ã§ã® JavaScript ã«ããæ¤è¨¼ãæå¹ã«ãã¾ããã¾ããQuickForm +ã¯ãã®ãã£ã¼ã«ãã«å¯¾ãã¦å¿ é ãã£ã¼ã«ãã®å°ãèªåçã«ã¤ãããã¨ã«ã注æãã¾ãããã </para> </refsect2> <refsect2 id="package.html.html-quickform.tutorial.firstform.processing"> - <title>Validating and processing</title> + <title>å ¥åã®æ¤è¨¼ããã³å¦ç</title> <para> -We now have the form built and rules defined and need to decide whether to process it or display: +ãã©ã¼ã ã®ä½æãçµäºããæ¤è¨¼è¦åãå®ç¾©ãã¾ããã +次ã«ããã©ã¼ã ãå¦çããã®ã表示ããã®ããæ±ºããªããã°ãªãã¾ããã <programlisting role="php"> <![CDATA[ if ($form->validate()) { - // Do some stuff + // ä½ããã®å¦ç } ]]> </programlisting> -The <link linkend="package.html.html-quickform.html-quickform.validate"><function>validate</function></link> method -will consider the form valid (i.e. return &true;) if some data was actually submitted and all the rules -defined for the form were satisfied. In our case this means that 'name' element was not empty. +<link linkend="package.html.html-quickform.html-quickform.validate"><function>validate</function></link> +ã¡ã½ãããããã©ã¼ã ãæå¹ã§ãããã¨å¤æãã (ã¤ã¾ã &true; ãè¿ã) ã®ã¯ã +ä½ããã®ãã¼ã¿ãéä¿¡ããããã¤ãã©ã¼ã ã«å®ç¾©ããã¦ããè¦åããã¹ã¦æºããããå ´åã§ãã +ä»åã®ä¾ã§ã¯ããã㯠'name' è¦ç´ ã空ã§ãªãã£ããã¨ã表ãã¾ãã </para> <para> -If the form is validated we need to process the values +ãã©ã¼ã ã®å ¥åãæ¤è¨¼ããããããã®å¤ãå¦çããªããã°ãªãã¾ããã <programlisting role="php"> <![CDATA[ -echo '<h1>Hello, ' . htmlspecialchars($form->exportValue('name')) . '!</h1>'; +echo '<h1>ããã«ã¡ã¯ã' . htmlspecialchars($form->exportValue('name')) . 'ãã!</h1>'; exit; ]]> </programlisting> -This is an example, in your scripts you'll usually want to store the values somewhere and to redirect to some other page to -prevent a duplicate submit. The <link linkend="package.html.html-quickform.html-quickform.process"><function>process</function></link> -and <link linkend="package.html.html-quickform.html-quickform.exportvalues"><function>exportvalues</function></link> -methods may be of interest here. +ããã¯ã²ã¨ã¤ã®ä¾ã§ããå®éã®ã¹ã¯ãªããã§ã¯ãå¤ãã©ããã«ä¿åããããã§å¥ã®ãã¼ã¸ã«ãªãã¤ã¬ã¯ããã +äºééä¿¡ãé²ããªã©ã®å¦çãå¿ è¦ã«ãªããã¨ã§ãããã +ãã®ãããªå ´åã«ä½¿ç¨ãããã¡ã½ãã㯠+<link linkend="package.html.html-quickform.html-quickform.process"><function>process</function></link> +ããã³ +<link linkend="package.html.html-quickform.html-quickform.exportvalues"><function>exportvalues</function></link> +ã§ãã </para> <para> -The last line is pretty easy: +æå¾ã®è¡ã¯ãã¨ã¦ãç°¡åã§ãã <programlisting role="php"> <![CDATA[ $form->display(); ]]> </programlisting> -If the form is not valid, which means that it either was not yet submitted or that there were errors, it -will be displayed. Error messages (if any) will be displayed near the corresponding elements. +ãã©ã¼ã ãæå¹ã§ãªãå ´åãããªãã¡ã¾ã éä¿¡ããã¦ããªãã£ããå ¥åå 容ã«ä¸åããã£ãå ´åã¯ã +ãã©ã¼ã ã®å 容ã表示ããã¾ããããã¨ã©ã¼ã¡ãã»ã¼ã¸ãåå¨ããã°ã +対å¿ããè¦ç´ ã®ãã°ã«ããã表示ããã¾ãã </para> </refsect2> </refsect1> <refsect1 id="package.html.html-quickform.tutorial.advanced"> - <title>Advanced features</title> + <title>é«åº¦ãªæ©è½</title> <para> -You now should have an understanding of basic QuickForm functionality, but there are many more features in -the package, each of them deserving a separate tutorial. This section will give a short overview of them -and point you to the complete documentation. +åºæ¬ç㪠QuickForm ã®æ©è½ã«ã¤ãã¦ã¯ããã§ãçè§£ããã ãããã¨ã§ãããã +ãããããã®ããã±ã¼ã¸ã«ã¯ããã§åãä¸ãã以å¤ã«ãå¤ãã®æ©è½ãããã¾ãã +ãããã«ã¤ãã¦ã¯ããããåå¥ã®ãã¥ã¼ããªã¢ã«ãè¨ãã¦ãã¾ãã +ãã®ç¯ã§ã¯ãããã«ã¤ãã¦ã®ç°¡åãªèª¬æãããä¸ã§ã詳細ãªããã¥ã¡ã³ãã®å ´æã示ãã¾ãã </para> <para> -<link linkend="package.html.html-quickform.groups">Groups</link> allow to combine several individual -elements into one entity and to use it as one element. This is also used to create pseudo-elements like date -and hierselect. +<link linkend="package.html.html-quickform.groups">ã°ã«ã¼ã</link> ã使ç¨ããã¨ã +è¤æ°ã®ç¬ç«ããè¦ç´ ãã²ã¨ã¤ã®ã¨ã³ãã£ãã£ã«ã¾ã¨ãã +ãããã²ã¨ã¤ã®è¦ç´ ã§ãããã®ããã«ä½¿ç¨ãããã¨ãã§ãã¾ãã +ãã㯠date ã hierselect ã®ãããªæ¬ä¼¼è¦ç´ ã使ããããã«ã使ç¨ããã¦ãã¾ãã </para> <para> -QuickForm offers a lot of possibilities to customize form layout and appearance. Form output is done via -<link linkend="package.html.html-quickform.intro-renderers">renderers</link> - special classes containing -necessary logic. There are renderers that <link linkend="package.html.html-quickform.html-quickform-renderer-default">directly output HTML</link> -and those that <link linkend="package.html.html-quickform.output.template-renderers">use template engines</link> for this. +QuickForm ã¯ããã©ã¼ã ã®ã¬ã¤ã¢ã¦ããè¦æ ãã夿´ããããã«å¤ãã®æ©è½ãæä¾ãã¦ãã¾ãã +ãã©ã¼ã ã®åºå㯠+<link linkend="package.html.html-quickform.intro-renderers">ã¬ã³ãã©</link> +ãè¡ãã¾ããããã¯å¿ è¦ãªãã¸ãã¯ãçµã¿è¾¼ã¾ããç¹å¥ãªã¯ã©ã¹ã§ãã +<link linkend="package.html.html-quickform.html-quickform-renderer-default">ç´æ¥ HTML ãåºåãã</link> +ã¬ã³ãã©ãã +<link linkend="package.html.html-quickform.output.template-renderers">ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã使ç¨ãã</link> +ã¬ã³ãã©ãããã¾ãã </para> <para> -And finally, you can extend QuickForm by adding your own element types, rules and -<link linkend="package.html.html-quickform.output.renderer-doc">renderers</link>. +ããã¦æå¾ã«ãç¬èªã®è¦ç´ åãæ¤è¨¼è¦åãã㦠+<link linkend="package.html.html-quickform.output.renderer-doc">ã¬ã³ãã©</link> +ã追å ãããã¨ã§ QuickForm ãæ¡å¼µãããã¨ãã§ãã¾ãã </para> </refsect1> </refentry> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.isformbuilt"> <refnamediv> <refname>Page::isFormBuilt()</refname> - <refpurpose>ãã©ã¼ã ãæ¢ã«æ§ç¯ãããããã§ãã¯ãã</refpurpose> + <refpurpose>ãã©ã¼ã ãæ¢ã«æ§ç¯ããããã©ããããã§ãã¯ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -20,15 +21,15 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.isformbuilt.desc"> &title.desc; <para> - ããã¯<link + ããã¯ã<link linkend="package.html.html-quickform-controller.html-quickform-page.buildform"><function>buildForm</function></link> - ãå¼ã¶å¿ è¦ããããã©ãããã§ãã¯ããããã«ä½¿ç¨ãã¾ãã + ãå¼ã¶å¿ è¦ããããã©ããããã§ãã¯ããããã«ä½¿ç¨ãã¾ãã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.isformbuilt.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.isformbuilt.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml:1.1 Sat Mar 20 13:07:35 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page"> <refnamediv> @@ -23,9 +24,11 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page.desc"> &title.desc; <para> - Note that unlike constructor of <classname>HTML_QuickForm</classname> there is no - <parameter>$action</parameter>, as the form is always submitted to the current page. Note also - that <parameter>$formName</parameter> is <emphasis>not</emphasis> optional. + <classname>HTML_QuickForm</classname> ã®ã³ã³ã¹ãã©ã¯ã¿ã¨ã¯ç°ãªãã + <parameter>$action</parameter> ãåå¨ããªããã¨ã«æ³¨æãã¾ãããã + ããã¯ããã©ã¼ã ã常ã«ç¾å¨ã®ãã¼ã¸ããéä¿¡ãããããã§ãã + ã¾ãã<parameter>$formName</parameter> ã + ãªãã·ã§ã³<emphasis>ã§ã¯ãªã</emphasis>ãã¨ã«ã注æãã¾ãããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page.param"> @@ -96,7 +99,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.handle"> <refnamediv> <refname>Page::handle()</refname> - <refpurpose>ãã³ãã«ãå®è¡ãã</refpurpose> + <refpurpose>ã¢ã¯ã·ã§ã³ãå¦çãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -20,15 +21,15 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.handle.desc"> &title.desc; <para> - ãã®ã¡ã½ããã¯åã«ããã®ã¢ã¯ã·ã§ã³åã«<link + ãã®ã¡ã½ããã¯åã«ããã®ã¢ã¯ã·ã§ã³åã§ <link linkend="package.html.html-quickform-controller.html-quickform-page.addaction">ç»é²ããã</link> - ã¢ã¯ã·ã§ã³ãªãã¸ã§ã¯ãã®<link + ã¢ã¯ã·ã§ã³ãªãã¸ã§ã¯ãã® <link linkend="package.html.html-quickform-controller.html-quickform-action.perform"><function>perform</function></link> - ãå¼ã³ã¾ãã - ãããã¢ã¯ã·ã§ã³ãªãã¸ã§ã¯ããããã§ç»é²ããã¦ãªããã°ã - ã³ã³ããã¼ã©ã®<link + ã¡ã½ãããã³ã¼ã«ãã¾ãã + ã¢ã¯ã·ã§ã³ãªãã¸ã§ã¯ããç»é²ããã¦ããªããã°ã + ã³ã³ããã¼ã©ã® <link linkend="package.html.html-quickform-controller.html-quickform-controller.handle"><function>handle</function></link> - ã¡ã½ãããå¼ã°ããã§ãããã + ã¡ã½ãããã³ã¼ã«ããã¾ãã </para> </refsect1> @@ -55,7 +56,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.handle.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.handle.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.getbuttonname"> <refnamediv> <refname>Page::getButtonName()</refname> - <refpurpose>ç¹æ®ã¢ã¯ã·ã§ã³ãèµ·åããsubmitãã¿ã³ã®ååãè¿ã</refpurpose> + <refpurpose>ç¹å®ã®ã¢ã¯ã·ã§ã³ãèµ·åãã submit ãã¿ã³ã®ååãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -20,20 +21,21 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.desc"> &title.desc; <para> - ç¹æ®ã¢ã¯ã·ã§ã³ãèµ·åããsubmitãã¿ã³ - (ãããã¯<input type="image">ã³ã³ããã¼ã«) - ã®ååãè¿ãã¾ãã - ããã¯ä¸è¨ãæå³ãã¾ãã - if you do + ç¹å®ã®ã¢ã¯ã·ã§ã³ãèµ·åãã submit ãã¿ã³ + (ããã㯠<input type="image"> ã³ã³ããã¼ã«) + ã®ååãè¿ãã¾ããããã¯ä»¥ä¸ã®ãããªãã¨ãæå³ãã¾ãã + <link linkend="package.html.html-quickform-controller.html-quickform-page.buildform"> + <function>buildForm</function></link> ã¡ã½ããå ã§ <programlisting role="php"> <![CDATA[ $this->addElement('submit', $this->getButtonName('foo'), 'Foo'); ]]> </programlisting> -inside the <link linkend="package.html.html-quickform-controller.html-quickform-page.buildform"><function>buildForm</function></link> -method and the user later uses this button to submit the form, then the <literal>'foo'</literal> handler (added -via <link linkend="package.html.html-quickform-controller.html-quickform-page.addaction"><function>addAction</function></link> -will be called. + ã®ããã«ä½¿ç¨ãããã®ãã¿ã³ãç¨ãã¦ãã©ã¼ã ãéä¿¡ããéã«ã¯ + <literal>'foo'</literal> ãã³ãã© + (<link linkend="package.html.html-quickform-controller.html-quickform-page.addaction"> + <function>addAction</function></link> ã§è¿½å ããããã®) + ãã³ã¼ã«ãããã¨ãããã¨ã§ãã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.param"> @@ -59,13 +61,13 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.returns"> &title.returns; <para> - <emphasis>returns</emphasis> submitãã¿ã³ã®"name"屿§ã§ãã + <emphasis>returns</emphasis> submit ãã¿ã³ã® "name" 屿§ã§ãã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.buildform"> <refnamediv> <refname>Page::buildForm()</refname> - <refpurpose>ãã©ã¼ã ã®æ§ç¯ããã</refpurpose> + <refpurpose>ãã©ã¼ã ãæ§ç¯ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -21,22 +22,27 @@ &title.desc; <para> ãã©ã¼ã ãæ§ç¯ãã¾ãã - You should override this method when you subclass <classname>HTML_QuickForm_Page</classname>, - it should contain all the necessary - <link linkend="package.html.html-quickform.html-quickform.addelement"><function>addElement</function></link>, - <link linkend="package.html.html-quickform.html-quickform.applyfilter"><function>applyFilter</function></link>, - <link linkend="package.html.html-quickform.html-quickform.addrule"><function>addRule</function></link> and possibly - <link linkend="package.html.html-quickform.html-quickform.setdefaults"><function>setDefaults</function></link> and - <link linkend="package.html.html-quickform.html-quickform.setconstants"><function>setConstants</function></link> calls. - The method will be called on demand, so please be sure to set <varname>$_formBuilt</varname> property to &true; - to assure that the method works only once. + <classname>HTML_QuickForm_Page</classname> ã®ãµãã¯ã©ã¹ã§ã¯ã + ãã®ã¡ã½ããããªã¼ãã¼ã©ã¤ãããå¿ è¦ãããã¾ãããã®ä¸ã§ã¯ã + <link linkend="package.html.html-quickform.html-quickform.addelement"><function>addElement</function></link>,ã + <link linkend="package.html.html-quickform.html-quickform.applyfilter"><function>applyFilter</function></link>ã + <link linkend="package.html.html-quickform.html-quickform.addrule"><function>addRule</function></link> + ããã¦ãããã + <link linkend="package.html.html-quickform.html-quickform.setdefaults"><function>setDefaults</function></link> + ããã³ + <link linkend="package.html.html-quickform.html-quickform.setconstants"><function>setConstants</function></link> + ãã³ã¼ã«ããå¿ è¦ãããã¾ãã + ãã®ã¡ã½ããã¯ãè¦æ±ã«å¿ã㦠(on demand) ã³ã¼ã«ããã¾ãããã®ããã + ãã®ã¡ã½ãããä¸åº¦ã ãããã³ã¼ã«ãããªãããã«ããããã«ã¯ + <varname>$_formBuilt</varname> ããããã£ã &true; + ã«è¨å®ããããã«ãã¾ãããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.buildform.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.buildform.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.addaction"> <refnamediv> <refname>Page::addAction()</refname> - <refpurpose>ç¹æ®ãªã¢ã¯ã·ã§ã³ç¨ã®ãã³ãã©ãç»é²ãã</refpurpose> + <refpurpose>ç¹å®ã®ã¢ã¯ã·ã§ã³ç¨ã®ãã³ãã©ãç»é²ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -59,7 +60,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.addaction.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.addaction.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml:1.1 Tue Feb 24 16:35:23 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-action.perform"> <refnamediv> @@ -21,7 +22,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-action.perform.desc"> &title.desc; <para> -ãã®ã¡ã½ããã¯å¿ è¦ãªãã¸ãã¯ãæä¾ããåã¯ã©ã¹ã«ãã£ã¦ãªã¼ãã¼ã©ã¤ããããã¹ãã§ãã +åã¯ã©ã¹ã§ãã®ã¡ã½ããããªã¼ãã¼ã©ã¤ãããå¿ è¦ã¨ãªããã¸ãã¯ãæä¾ããªããã°ãªãã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-action.perform.param"> @@ -36,7 +37,7 @@ </term> <listitem> <para> - ã«ã¬ã³ããã©ã¼ã ãã¼ã¸ã + ç¾å¨ã®ãã©ã¼ã ãã¼ã¸ã </para> </listitem> </varlistentry> @@ -51,7 +52,8 @@ </term> <listitem> <para> - Current action name, as one Action object can serve multiple actions + ç¾å¨ã®ã¢ã¯ã·ã§ã³åãã²ã¨ã¤ã® Action ãªãã¸ã§ã¯ãã§ + è¤æ°ã®ã¢ã¯ã·ã§ã³ãæ±ãããããæå®ããå¿ è¦ãããã¾ãã </para> </listitem> </varlistentry> @@ -61,7 +63,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-action.perform.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-action.perform.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform.xml diff -u peardoc/ja/package/html/html-quickform.xml:1.2 peardoc/ja/package/html/html-quickform.xml:1.3 --- peardoc/ja/package/html/html-quickform.xml:1.2 Wed Nov 17 12:00:45 2004 +++ peardoc/ja/package/html/html-quickform.xml Thu Jun 1 13:27:53 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.20 Maintainer: haruki Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.21 Maintainer: haruki Status: ready --> <sect1 id="package.html.html-quickform"> <title>HTML_QuickForm</title> <para> @@ -47,6 +47,7 @@ &package.html.html-quickform.html-quickform.getelement; &package.html.html-quickform.html-quickform.getmaxfilesize; &package.html.html-quickform.html-quickform.getregisteredtypes; +&package.html.html-quickform.html-quickform.insertelementbefore; &package.html.html-quickform.html-quickform.iserror; &package.html.html-quickform.html-quickform.istyperegistered; &package.html.html-quickform.html-quickform.registerelementtype; @@ -61,7 +62,7 @@ To be written </para> <sect3 id="package.html.html-quickform.elements.base"> - <title>Base classes</title> + <title>åºæ¬ã¯ã©ã¹ç¾¤</title> &package.html.html-quickform.html-quickform-element; &package.html.html-quickform.html-quickform-element.html-quickform-element; &package.html.html-quickform.html-quickform-element.accept; @@ -299,8 +300,8 @@ <sect3 id="package.html.html-quickform.output.basic-renderers"> <title>åºæ¬çãªã¬ã³ãã©</title> <para> - ãããã®ã¬ã³ãã©ã¯ããã¼ã¸ã§ã³3.0以åã® <classname>HTML_QuickForm</classname> ã³ã¼ãã - åºç¤ã¨ãã¦ãããåä½ã«ä»ã®ã¯ã©ã¹ãå¿ è¦ã¨ãã¾ããã + ãããã®ã¬ã³ãã©ã¯ããã¼ã¸ã§ã³ 3.0 以åã® <classname>HTML_QuickForm</classname> + ã³ã¼ããåºç¤ã¨ãã¦ãããåä½ã«ä»ã®ã¯ã©ã¹ãå¿ è¦ã¨ãã¾ããã </para> &package.html.html-quickform.intro-renderers; &package.html.html-quickform.html-quickform-renderer-default;
http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/updateelementattr.xml Thu Jun 1 13:27:53 2006 @@ -1,5 +1,6 @@ -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.updateelementattr"> <refnamediv> <refname>HTML_QuickForm::updateElementAttr()</refname> @@ -21,6 +22,14 @@ <refsect1 id="package.html.html-quickform.html-quickform.updateelementattr.desc"> &title.desc; <para>ã²ã¨ã¤ã¾ãã¯è¤æ°ã®è¦ç´ ã®å±æ§ãæ´æ°ãã¾ãã</para> + <warning> + <para> + ã°ã«ã¼ãããã°ã«ã¼ãããã¨ã«ããè¦ç´ (dateãhierselect) + ã§ã¯åä½ããªãããããã¾ããã + ãããã®è¦ç´ ã«å¯¾ãã¦ç¢ºå®ã«åä½ãããã«ã¯ã + ã°ã«ã¼ãåãããè¦ç´ ã®å±æ§ãæåã§æ´æ°ããªããã°ãªãã¾ããã + </para> + </warning> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.updateelementattr.param"> &title.param; @@ -46,7 +55,7 @@ </term> <listitem> <para> - HTML屿§ã®é åãæååã§ãã + HTML 屿§ã®é åãæååã§ãã </para> </listitem> </varlistentry> @@ -56,7 +65,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.updateelementattr.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.updateelementattr.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/setmaxfilesize.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.2 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.setmaxfilesize"> <refnamediv> <refname>HTML_QuickForm::setMaxFileSize()</refname> - <refpurpose>MAX_FILE_SIZEã®é ãè¦ç´ ã®å¤ãè¨å®ãã</refpurpose> + <refpurpose>MAX_FILE_SIZE é ãè¦ç´ ã®å¤ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -19,7 +20,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.setmaxfilesize.desc"> &title.desc; - <para>MAX_FILE_SIZEã®é ãè¦ç´ ã®å¤ãè¨å®ãã¾ãã(ãã¡ã¤ã«ã¢ãããã¼ãã«ä½¿ç¨ãã¾ãã)</para> + <para>MAX_FILE_SIZE é ãè¦ç´ ã®å¤ãè¨å®ãã¾ã (ãã¡ã¤ã«ã¢ãããã¼ãã«ä½¿ç¨ãã¾ã)ã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.setmaxfilesize.param"> &title.param; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/removeelement.xml Thu Jun 1 13:27:53 2006 @@ -1,5 +1,6 @@ -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.removeelement"> <refnamediv> <refname>HTML_QuickForm::removeElement()</refname> @@ -11,7 +12,7 @@ require_once 'HTML/QuickForm.php'; </funcsynopsisinfo> <funcprototype> - <funcdef>void <function>HTML_QuickForm::removeElement</function></funcdef> + <funcdef>object &<function>HTML_QuickForm::removeElement</function></funcdef> <paramdef>string <parameter>$elementName</parameter></paramdef> <paramdef>boolean <parameter> <optional>$removeRules = &true;</optional></parameter></paramdef> </funcprototype> @@ -53,6 +54,12 @@ </variablelist> </para> </refsect1> + <refsect1 id="package.html.html-quickform.html-quickform.removeelement.return"> + &title.returns; + <para> + åé¤ãããè¦ç´ ã¸ã®åç §ãè¿ãã¾ãã + </para> + </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.removeelement.throws"> &title.throws; <para> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/istyperegistered.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.istyperegistered"> <refnamediv> <refname>HTML_QuickForm::isTypeRegistered()</refname> - <refpurpose>ãã©ã¼ã è¦ç´ ã®ç¨®é¡ããµãã¼ãããã調ã¹ã¾ã</refpurpose> + <refpurpose>ãã©ã¼ã è¦ç´ ã®ç¨®é¡ããµãã¼ãããã調ã¹ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -48,7 +49,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.istyperegistered.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.istyperegistered.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml:1.3 peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml:1.4 --- peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml:1.3 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/iserror.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.3 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.4 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.iserror"> <refnamediv> @@ -19,9 +20,9 @@ <refsect1 id="package.html.html-quickform.html-quickform.iserror.desc"> &title.desc; - <para>çµæãã¨ã©ã¼ãã©ããç¥ããã¾ãã(ä¾ãã° + <para>çµæãã¨ã©ã¼ãã©ããç¥ããã¾ã (ä¾ãã° <parameter>$value</parameter> ã - <classname>HTML_QuickForm_Error</classname>) ã®ã¤ã³ã¹ã¿ã³ã¹ãã©ãã</para> + <classname>HTML_QuickForm_Error</classname> ã®ã¤ã³ã¹ã¿ã³ã¹ãã©ãã)ã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.iserror.param"> &title.param; @@ -46,7 +47,7 @@ &title.returns; <para> <emphasis>return</emphasis> - <parameter>$value</parameter>ãã¨ã©ã¼ãã©ããã + <parameter>$value</parameter> ãã¨ã©ã¼ãã©ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.iserror.throws"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml:1.1 peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml:1.2 --- peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml:1.1 Sat Mar 20 13:06:19 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/html-quickform.xml Thu Jun 1 13:27:53 2006 @@ -1,8 +1,9 @@ -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.html-quickform"> <refnamediv> - <refname>constructor HTML_QuickForm::HTML_QuickForm()</refname> + <refname>ã³ã³ã¹ãã©ã¯ã¿ HTML_QuickForm::HTML_QuickForm()</refname> <refpurpose>ã¯ã©ã¹ã®ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> @@ -17,6 +18,7 @@ <paramdef>string <parameter> <optional>$action = ''</optional></parameter></paramdef> <paramdef>string <parameter> <optional>$target = '_self'</optional></parameter></paramdef> <paramdef>mixed <parameter> <optional>$attributes = &null;</optional></parameter></paramdef> + <paramdef>bool <parameter> <optional>$trackSubmit = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -90,13 +92,29 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term> + + &type.bool; + <parameter>$trackSubmit</parameter> + </term> + <listitem> + <para> + (ãªãã·ã§ã³) ãã©ã¼ã ããéä¿¡ããããã¨ã確èªããæ©è½ã + 使ç¨ãããããhidden ãã£ã¼ã«ãã追å ãããã©ãããæå®ãã¾ãã + <varname>$_GET</varname> ããã㯠<varname>$_POST</varname> + ã®å¤ã«ãã®ãã£ã¼ã«ããåå¨ããªãå ´åã + ãã©ã¼ã ã¯éä¿¡ãããªãã£ãã¨èãããã¾ãã + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.html-quickform.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.html-quickform.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml:1.3 peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml:1.4 --- peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml:1.3 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/getmaxfilesize.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.3 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.4 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.getmaxfilesize"> <refnamediv> <refname>HTML_QuickForm::getMaxFileSize()</refname> - <refpurpose>MAX_FILE_SIZEé ãè¦ç´ ã®å¤ãè¿ã</refpurpose> + <refpurpose>MAX_FILE_SIZE é ãè¦ç´ ã®å¤ãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -19,7 +20,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.getmaxfilesize.desc"> &title.desc; - <para>MAX_FILE_SIZEé ãè¦ç´ ã®å¤ãè¿ãã¾ãã(ãã¡ã¤ã«ã¢ãããã¼ãã§ä½¿ç¨ãã¾ãã)</para> + <para>MAX_FILE_SIZE é ãè¦ç´ ã®å¤ãè¿ãã¾ã (ãã¡ã¤ã«ã¢ãããã¼ãã§ä½¿ç¨ãã¾ã)ã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.getmaxfilesize.return"> &title.returns; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/errormessage.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.2 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.errormessage"> <refnamediv> @@ -19,7 +20,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.errormessage.desc"> &title.desc; - <para>QuickFormã¨ã©ã¼ã³ã¼ãããã¨ã©ã¼ã¡ãã»ã¼ã¸ãè¿ãã¾ãã</para> + <para>QuickForm ã¨ã©ã¼ã³ã¼ãããã¨ã©ã¼ã¡ãã»ã¼ã¸ãè¿ãã¾ãã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.errormessage.param"> &title.param; @@ -33,7 +34,7 @@ </term> <listitem> <para> - int error code + æ´æ°ã®ã¨ã©ã¼ã³ã¼ãã </para> </listitem> </varlistentry> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/elementexists.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.2 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.elementexists"> <refnamediv> @@ -20,7 +21,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.elementexists.desc"> &title.desc; <para> - ããè¦ç´ ããã©ã¼ã ã«ããå ´åã¯&true;ããããã§ãªããã°&false;ãè¿ãã + ããè¦ç´ ããã©ã¼ã ã«ããå ´å㯠&true; ããããã§ãªããã° &false; ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.elementexists.param"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml:1.3 peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml:1.4 --- peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml:1.3 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/createelement.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.3 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.4 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.createelement"> <refnamediv> @@ -19,8 +20,18 @@ <refsect1 id="package.html.html-quickform.html-quickform.createelement.desc"> &title.desc; - <para>ä¸ãããã種é¡ã®è¦ç´ ããã©ã¼ã ã«ä½æãã¾ããThis method accepts variable number of parameters, their meaning and count depending on <parameter>$elementType</parameter>.</para> - <para>Parameters starting from second will be passed to the element's constructor, consult the docs for the <link linkend="package.html.html-quickform.intro-elements">appropriate element</link> to find out which parameters to pass.</para> + <para> + ä¸ãããã種é¡ã®è¦ç´ ããã©ã¼ã ã«ä½æãã¾ãã + ãã®ã¡ã½ãããåãåããã©ã¡ã¼ã¿ã®æ°ã¯å¯å¤ã§ãã + ãã©ã¡ã¼ã¿ã®æå³ãæ°ã¯ã<parameter>$elementType</parameter> + ã«ãã£ã¦å¤ããã¾ãã + </para> + <para> + 2 çªç®ä»¥éã®ãã©ã¡ã¼ã¿ã¯ãåè¦ç´ ã®ã³ã³ã¹ãã©ã¯ã¿ã«æ¸¡ããã¾ãã + ã©ã®ãããªãã©ã¡ã¼ã¿ã渡ããããã«ã¤ãã¦ã¯ã + <link linkend="package.html.html-quickform.intro-elements">ããããã®è¦ç´ </link> + ã®ããã¥ã¡ã³ããåç §ãã ããã + </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.createelement.param"> &title.param; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml:1.2 peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml:1.3 --- peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml:1.2 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/apiversion.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.2 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.3 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.apiversion"> <refnamediv> <refname>HTML_QuickForm::apiVersion()</refname> - <refpurpose>ç¾å¨ã®APIã®ãã¼ã¸ã§ã³ãè¿ã</refpurpose> + <refpurpose>ç¾å¨ã® API ã®ãã¼ã¸ã§ã³ãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -19,7 +20,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.apiversion.desc"> &title.desc; - <para>ç¾å¨ã®APIã®ãã¼ã¸ã§ã³ãè¿ãã¾ãã</para> + <para>ç¾å¨ã® API ã®ãã¼ã¸ã§ã³ãè¿ãã¾ãã</para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.apiversion.throws"> &title.throws; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml:1.1 peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml:1.2 --- peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml:1.1 Tue Feb 24 16:35:22 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/addformrule.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.addformrule"> <refnamediv> @@ -20,8 +21,11 @@ <refsect1 id="package.html.html-quickform.html-quickform.addformrule.desc"> &title.desc; <para> -This should be used when you want to add a rule involving several fields or if you want to use some completely custom validation for your form. -The rule function/method should return &true; in case of successful validation and array('element name' => 'error') when there were errors. +è¤æ°ã®ãã£ã¼ã«ãã«ã¾ãããè¦åã追å ãããå ´åã +ãããã¯ãã©ã¼ã ã«ã¾ã£ããç¬èªã®æ¤è¨¼ãé©ç¨ãããå ´åã« +ããã使ç¨ãã¾ããæ¤è¨¼ã«æåããå ´åã¯ã +颿°/ã¡ã½ãã㯠&true; ãè¿ãã¾ããã¾ããã¨ã©ã¼ãçºçããå ´å㯠+é å array('è¦ç´ å' => 'ã¨ã©ã¼') ãè¿ããã¾ãã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.addformrule.param"> @@ -61,7 +65,7 @@ <row> <entry><constant>QUICKFORM_INVALID_RULE</constant></entry> <entry>Callback function does not exist in HTML_QuickForm::addFormRule()</entry> - <entry>callback_ã¨ãã¦åå¨ããªã颿°ã®ååã使ç¨ãããã¨ãã¾ãã</entry> + <entry>callback ã¨ãã¦åå¨ããªã颿°ã®ååã使ç¨ãããã¨ãã¾ãã</entry> <entry>ã¹ãã«ãã§ãã¯ããã¦ãã ããã</entry> </row> </tbody> @@ -79,7 +83,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.addformrule.example"> &title.example; <example> - <title><function>addFormRule</function>ã®ä½¿ç¨æ³</title> + <title><function>addFormRule</function> ã®ä½¿ç¨æ³</title> <programlisting role="php"> <![CDATA[ <?php @@ -87,18 +91,18 @@ $form = new HTML_QuickForm(); -// the function checks whether the passwords are the same +// ãã®é¢æ°ã¯ããã¹ã¯ã¼ããåããã©ããã調ã¹ã¾ã function cmpPass($fields) { if (strlen($fields['passwd1']) && strlen($fields['passwd2']) && $fields['passwd1'] != $fields['passwd2']) { - return array('passwd1' => 'Passwords are not the same'); + return array('passwd1' => 'ãã¹ã¯ã¼ããéãã¾ã'); } return true; } -$form->addElement('password', 'passwd1', 'Enter password'); -$form->addElement('password', 'passwd2', 'Confirm password'); +$form->addElement('password', 'passwd1', 'ãã¹ã¯ã¼ããå ¥åãã¦ãã ãã'); +$form->addElement('password', 'passwd2', 'ããä¸åº¦ãã¹ã¯ã¼ããå ¥åãã¦ãã ãã'); $form->addFormRule('cmpPass'); ?> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml:1.5 peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml:1.6 --- peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml:1.5 Tue Feb 24 16:29:12 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/addelement.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.addelement"> <refnamediv> @@ -19,7 +19,12 @@ <refsect1 id="package.html.html-quickform.html-quickform.addelement.desc"> &title.desc; - <para>ãã©ã¼ã ã«è¦ç´ ã追å ãã¾ããIf <parameter>$element</parameter> is a string representing an element type, then this method accepts variable number of parameters, their meaning and count depending on element type.</para> + <para> + ãã©ã¼ã ã«è¦ç´ ã追å ãã¾ãã + <parameter>$element</parameter> ãè¦ç´ åã®æåå表ç¾ã§ããå ´åã¯ã + ãã®ã¡ã½ããã¯å¯å¤å¼æ°ãåãåãã¾ãããããã®å¼æ°ã®æå³ããã³å¼æ°ã®æ°ã¯ã + è¦ç´ ã®åã«ãã£ã¦ç°ãªãã¾ãã + </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.addelement.param"> &title.param; http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/html-quickform/accept.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform/html-quickform/accept.xml diff -u peardoc/ja/package/html/html-quickform/html-quickform/accept.xml:1.1 peardoc/ja/package/html/html-quickform/html-quickform/accept.xml:1.2 --- peardoc/ja/package/html/html-quickform/html-quickform/accept.xml:1.1 Tue Feb 24 16:35:22 2004 +++ peardoc/ja/package/html/html-quickform/html-quickform/accept.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform.html-quickform.accept"> <refnamediv> @@ -21,7 +22,7 @@ &title.desc; <para> ã¬ã³ãã©ãåãåãã¾ãã - ãã®æ¹æ³ã¯ãã¸ã¿ã¼ã»ãã¶ã¤ã³ã»ãã¿ã¼ã³å®è£ ä¸é¨ã§ãã + ãã®ã¡ã½ããã¯ããã¸ã¿ã¼ã»ãã¶ã¤ã³ãã¿ã¼ã³ã®å®è£ ã®ä¸é¨ã§ãã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.accept.param"> @@ -46,7 +47,7 @@ <refsect1 id="package.html.html-quickform.html-quickform.accept.throws"> &title.throws; <para> - <emphasis>throws</emphasis> no exceptions thrown + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform.html-quickform.accept.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform/tutorial.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform/tutorial.xml diff -u peardoc/ja/package/html/html-quickform/tutorial.xml:1.1 peardoc/ja/package/html/html-quickform/tutorial.xml:1.2 --- peardoc/ja/package/html/html-quickform/tutorial.xml:1.1 Wed Oct 13 10:39:40 2004 +++ peardoc/ja/package/html/html-quickform/tutorial.xml Thu Jun 1 13:27:53 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: haruki Status: partial --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: haruki Status: ready --> <refentry id="package.html.html-quickform.tutorial"> <refnamediv> <refname>ã¯ã¤ãã¯ã¹ã¿ã¼ãã¬ã¤ã</refname> @@ -16,7 +16,7 @@ </para> <para> Keith Edmunds ã«ãã£ã¦æ¸ããããQuickForm ã®ä½¿ç¨æ³ã«ã¤ãã¦ã® - <ulink url="http://www.thelinuxconsultancy.co.uk/quickform.html">ããã¶ãé·ãã®ãã¥ã¼ããªã¢ã«</ulink> + <ulink url="http://www.thelinuxconsultancy.co.uk/quickform.php">ããã¶ãé·ãã®ãã¥ã¼ããªã¢ã«</ulink> ãåèã¨ãªãã§ãããã </para> </refsect1> @@ -34,21 +34,21 @@ // ãã©ã¼ã è¦ç´ ã®ããã©ã«ãå¤ãè¨å® $form->setDefaults(array( - 'name' => 'Joe User' + 'name' => 'å±±ç°å¤ªé' )); // ãã©ã¼ã ã«è¦ç´ ãããã¤ã追å -$form->addElement('header', null, 'QuickForm tutorial example'); -$form->addElement('text', 'name', 'Enter your name:', array('size' => 50, 'maxlength' => 255)); -$form->addElement('submit', null, 'Send'); +$form->addElement('header', null, 'QuickForm ãã¥ã¼ããªã¢ã«ã®ãµã³ãã«'); +$form->addElement('text', 'name', 'ååãå ¥åãã¦ãã ãã:', array('size' => 50, 'maxlength' => 255)); +$form->addElement('submit', null, 'éä¿¡'); // ãã£ã«ã¿ã¨æ¤è¨¼ã«ã¼ã«ã追å $form->applyFilter('name', 'trim'); -$form->addRule('name', 'Please enter your name', 'required', null, 'client'); +$form->addRule('name', 'ååãå ¥åãã¦ãã ãã', 'required', null, 'client'); // ãã©ã¼ã ã®å¦¥å½æ§æ¤è¨¼ if ($form->validate()) { - echo '<h1>Hello, ' . htmlspecialchars($form->exportValue('name')) . '!</h1>'; + echo '<h1>ããã«ã¡ã¯ã' . htmlspecialchars($form->exportValue('name')) . 'ãã!</h1>'; exit; } @@ -72,126 +72,150 @@ å¾ã§ããã®HTML_QuickForm ãªãã¸ã§ã¯ãã«ãè¦ç´ ã«å¯¾å¿ãããªãã¸ã§ã¯ããä»ã®å¿ è¦ãªæ å ±ãå ãã¦ãããã¨ã¨ãªãã¾ãã ããã§ã<link linkend="package.html.html-quickform.html-quickform.html-quickform">ã³ã³ã¹ãã©ã¯ã¿</link>ã«ã¯ã ãã©ã¼ã ã®åç§°ã®ã¿ã渡ããä»ã®ãã©ã¡ã¼ã¿ã¯ããã©ã«ãå¤ã使ããã¦ãã¾ãã - ãã©ã¼ã ã® method 屿§ã«ã¯ <literal>POST</literal> ããaction 屿§ã«ã¯ç¾å¨ã®ãã¡ã¤ã«åã¨ãªãã¾ãã - When using QuickForm, it is easier to keep all the form related logic in one file. + ãã©ã¼ã ã® method 屿§ã®ããã©ã«ãå¤ã¯ <literal>POST</literal>ããã㦠+ action 屿§ã®ããã©ã«ãå¤ã¯ç¾å¨ã®ãã¡ã¤ã«åã¨ãªãã¾ããQuickForm ã使ç¨ããéã«ã¯ã + ãã©ã¼ã ã«é¢é£ãããã¸ãã¯ãã²ã¨ã¤ã®ãã¡ã¤ã«ã«ã¾ã¨ãã¦ããã¨æ¥½ã«ãªãã¾ãã </para> <para> -You might guess that +次ã®ã³ã¼ãã <literal>name</literal> è¦ç´ ã®ããã©ã«ãå¤ã <literal>'å±±ç°å¤ªé'</literal> +ã«è¨å®ãããã®ã§ãããã¨ã¯ãããããäºæ³ãä»ãã§ãããã <programlisting role="php"> <![CDATA[ $form->setDefaults(array( - 'name' => 'Joe User' + 'name' => 'å±±ç°å¤ªé' )); ]]> </programlisting> -sets the default value for <literal>name</literal> element to <literal>'Joe User'</literal>. QuickForm has the -concept of default values (set via <link linkend="package.html.html-quickform.html-quickform.setdefaults"><function>setDefaults</function></link> method) and -constant ones (set via <link linkend="package.html.html-quickform.html-quickform.setconstants"><function>setConstants</function></link>). -The difference between them is that user's input overrides default values but not constant ones. +QuickForm ã«ã¯ãããã©ã«ãå¤ +(<link linkend="package.html.html-quickform.html-quickform.setdefaults"><function>setDefaults</function></link> ã¡ã½ããã§è¨å®ãã¾ã) +ããã³å®æ°å¤ +(<link linkend="package.html.html-quickform.html-quickform.setconstants"><function>setConstants</function></link> ã¡ã½ããã§è¨å®ãã¾ã) +ã¨ããæ¦å¿µãããã¾ãããããã®éãã¯ãããã©ã«ãå¤ã¯ã¦ã¼ã¶ã®å ¥åã«ãã£ã¦ä¸æ¸ãããããã +宿°å¤ã¯ä¸æ¸ããããªãã¨ããç¹ã§ãã </para> <para> -Our form will consist of three elements: +ä»åã®ãã©ã¼ã ã¯ã3 ã¤ã®è¦ç´ ããæ§æããã¦ãã¾ãã <programlisting role="php"> <![CDATA[ -$form->addElement('header', null, 'QuickForm tutorial example'); -$form->addElement('text', 'name', 'Enter your name:', array('size' => 50, 'maxlength' => 255)); -$form->addElement('submit', null, 'Send'); +$form->addElement('header', null, 'QuickForm ãã¥ã¼ããªã¢ã«ã®ãµã³ãã«'); +$form->addElement('text', 'name', 'ååãå ¥åãã¦ãã ãã:', array('size' => 50, 'maxlength' => 255)); +$form->addElement('submit', null, 'éä¿¡'); ]]> </programlisting> -The first one is not the 'real' element, it is just a heading to improve presentation. The second one -actually is a text input box and the third is a submit button. Note that parameters for <link linkend="package.html.html-quickform.html-quickform.addelement"><function>addElement</function></link> -method have different meanings for different elements. That is so because they are actually passed to -these elements' constructors. +æåã®è¦ç´ ã¯ãæ¬æ¥ã®ãè¦ç´ ã§ã¯ããã¾ãããããã¯åã«è¦æ ããããããããã®è¦åºãã§ãã +2 çªç®ã®è¦ç´ ã¯ããã¹ãå ¥åæ¬ã§ã3 çªç®ã¯éä¿¡ãã¿ã³ã§ãã +<link linkend="package.html.html-quickform.html-quickform.addelement"><function>addElement</function></link> +ã¡ã½ããã®ãã©ã¡ã¼ã¿ã¯ãè¦ç´ ã®åã«ãã£ã¦æå³ãç°ãªã£ã¦ãããã¨ã«æ³¨æãã¾ãããã +ãªããªãããã®ãã©ã¡ã¼ã¿ã¯ããããã®è¦ç´ ã®ã³ã³ã¹ãã©ã¯ã¿ã«æ¸¡ããããã®ã ããã§ãã </para> </refsect2> <refsect2 id="package.html.html-quickform.tutorial.firstform.checking"> - <title>Checking input</title> + <title>å ¥åã®ãã§ãã¯</title> <para> -The line +次ã®è¡ã§ã¯ã'name' è¦ç´ ã®å¤ã«å¯¾ãã +<link linkend="package.html.html-quickform.intro-validation.filters">ãã£ã«ã¿</link> +ãå®ç¾©ãã¦ãã¾ãã <programlisting role="php"> <![CDATA[ $form->applyFilter('name', 'trim'); ]]> </programlisting> -defines a <link linkend="package.html.html-quickform.intro-validation.filters">filter</link> for the 'name' element value - the function that will be applied to it after form submit. -In this case it is a builtin <ulink url="&url.php.lookup;trim"><function>trim</function></ulink> function, -but can be any valid <ulink url="&url.php.callback;"><type>callback</type></ulink>. Thus we will strip -all whitespace from the name, as we do not actually need it and as we want to be sure that a name was entered, -not just some spaces. +ãã£ã«ã¿ã¨ã¯ããã©ã¼ã ãéä¿¡ãããéã«è¦ç´ ã®å¤ã«å¯¾ãã¦é©ç¨ããã颿°ã®ãã¨ã§ãã +ãã®ä¾ã®å ´åã¯çµã¿è¾¼ã¿ã® <ulink url="&url.php.lookup;trim"><function>trim</function></ulink> +颿°ã使ç¨ãã¦ãã¾ããããã以å¤ã«ãä»»æã® +<ulink url="&url.php.callback;"><type>callback</type></ulink> ã使ç¨ãããã¨ãã§ãã¾ãã +ããã§ã¯ãå ¥åãããååãã空ç½ãåãé¤ãã¦ãã¾ããã¨ããã®ãã +空ç½ã¯ä¸è¦ãªãã®ã§ãããåã«ç©ºç½ãå ¥åãããã®ã§ã¯ãªã +ãã¡ãã¨ååãå ¥åãããã®ã ã¨ãããã¨ã確èªãããããã§ãã </para> <para> -Next we define a <link linkend="package.html.html-quickform.intro-validation.rules">rule</link> for the name field: +次ã«ãååæ¬ã® <link linkend="package.html.html-quickform.intro-validation.rules">è¦å</link> +ãå®ç¾©ãã¾ãã <programlisting role="php"> <![CDATA[ -$form->addRule('name', 'Please enter your name', 'required', null, 'client'); +$form->addRule('name', 'ååãå ¥åãã¦ãã ãã', 'required', null, 'client'); ]]> </programlisting> -This means that QuickForm will display an error message if the name was not entered. The -<literal>'client'</literal> modifier is here to switch on client-side JavaScript validation in addition to -server-side one. Note also that QuickForm will automatically mark required fields in the form. +ãã®ã³ã¼ãã®æå³ã¯ãååãå ¥åãããªãã£ãå ´åã« QuickForm ãã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ããã¨ãããã¨ã§ãã +<literal>'client'</literal> ã¨ããæå®ãããã¨ããµã¼ãå´ã§ã®æ¤è¨¼ã ãã§ãªã +ã¯ã©ã¤ã¢ã³ãå´ã§ã® JavaScript ã«ããæ¤è¨¼ãæå¹ã«ãã¾ããã¾ããQuickForm +ã¯ãã®ãã£ã¼ã«ãã«å¯¾ãã¦å¿ é ãã£ã¼ã«ãã®å°ãèªåçã«ã¤ãããã¨ã«ã注æãã¾ãããã </para> </refsect2> <refsect2 id="package.html.html-quickform.tutorial.firstform.processing"> - <title>Validating and processing</title> + <title>å ¥åã®æ¤è¨¼ããã³å¦ç</title> <para> -We now have the form built and rules defined and need to decide whether to process it or display: +ãã©ã¼ã ã®ä½æãçµäºããæ¤è¨¼è¦åãå®ç¾©ãã¾ããã +次ã«ããã©ã¼ã ãå¦çããã®ã表示ããã®ããæ±ºããªããã°ãªãã¾ããã <programlisting role="php"> <![CDATA[ if ($form->validate()) { - // Do some stuff + // ä½ããã®å¦ç } ]]> </programlisting> -The <link linkend="package.html.html-quickform.html-quickform.validate"><function>validate</function></link> method -will consider the form valid (i.e. return &true;) if some data was actually submitted and all the rules -defined for the form were satisfied. In our case this means that 'name' element was not empty. +<link linkend="package.html.html-quickform.html-quickform.validate"><function>validate</function></link> +ã¡ã½ãããããã©ã¼ã ãæå¹ã§ãããã¨å¤æãã (ã¤ã¾ã &true; ãè¿ã) ã®ã¯ã +ä½ããã®ãã¼ã¿ãéä¿¡ããããã¤ãã©ã¼ã ã«å®ç¾©ããã¦ããè¦åããã¹ã¦æºããããå ´åã§ãã +ä»åã®ä¾ã§ã¯ããã㯠'name' è¦ç´ ã空ã§ãªãã£ããã¨ã表ãã¾ãã </para> <para> -If the form is validated we need to process the values +ãã©ã¼ã ã®å ¥åãæ¤è¨¼ããããããã®å¤ãå¦çããªããã°ãªãã¾ããã <programlisting role="php"> <![CDATA[ -echo '<h1>Hello, ' . htmlspecialchars($form->exportValue('name')) . '!</h1>'; +echo '<h1>ããã«ã¡ã¯ã' . htmlspecialchars($form->exportValue('name')) . 'ãã!</h1>'; exit; ]]> </programlisting> -This is an example, in your scripts you'll usually want to store the values somewhere and to redirect to some other page to -prevent a duplicate submit. The <link linkend="package.html.html-quickform.html-quickform.process"><function>process</function></link> -and <link linkend="package.html.html-quickform.html-quickform.exportvalues"><function>exportvalues</function></link> -methods may be of interest here. +ããã¯ã²ã¨ã¤ã®ä¾ã§ããå®éã®ã¹ã¯ãªããã§ã¯ãå¤ãã©ããã«ä¿åããããã§å¥ã®ãã¼ã¸ã«ãªãã¤ã¬ã¯ããã +äºééä¿¡ãé²ããªã©ã®å¦çãå¿ è¦ã«ãªããã¨ã§ãããã +ãã®ãããªå ´åã«ä½¿ç¨ãããã¡ã½ãã㯠+<link linkend="package.html.html-quickform.html-quickform.process"><function>process</function></link> +ããã³ +<link linkend="package.html.html-quickform.html-quickform.exportvalues"><function>exportvalues</function></link> +ã§ãã </para> <para> -The last line is pretty easy: +æå¾ã®è¡ã¯ãã¨ã¦ãç°¡åã§ãã <programlisting role="php"> <![CDATA[ $form->display(); ]]> </programlisting> -If the form is not valid, which means that it either was not yet submitted or that there were errors, it -will be displayed. Error messages (if any) will be displayed near the corresponding elements. +ãã©ã¼ã ãæå¹ã§ãªãå ´åãããªãã¡ã¾ã éä¿¡ããã¦ããªãã£ããå ¥åå 容ã«ä¸åããã£ãå ´åã¯ã +ãã©ã¼ã ã®å 容ã表示ããã¾ããããã¨ã©ã¼ã¡ãã»ã¼ã¸ãåå¨ããã°ã +対å¿ããè¦ç´ ã®ãã°ã«ããã表示ããã¾ãã </para> </refsect2> </refsect1> <refsect1 id="package.html.html-quickform.tutorial.advanced"> - <title>Advanced features</title> + <title>é«åº¦ãªæ©è½</title> <para> -You now should have an understanding of basic QuickForm functionality, but there are many more features in -the package, each of them deserving a separate tutorial. This section will give a short overview of them -and point you to the complete documentation. +åºæ¬ç㪠QuickForm ã®æ©è½ã«ã¤ãã¦ã¯ããã§ãçè§£ããã ãããã¨ã§ãããã +ãããããã®ããã±ã¼ã¸ã«ã¯ããã§åãä¸ãã以å¤ã«ãå¤ãã®æ©è½ãããã¾ãã +ãããã«ã¤ãã¦ã¯ããããåå¥ã®ãã¥ã¼ããªã¢ã«ãè¨ãã¦ãã¾ãã +ãã®ç¯ã§ã¯ãããã«ã¤ãã¦ã®ç°¡åãªèª¬æãããä¸ã§ã詳細ãªããã¥ã¡ã³ãã®å ´æã示ãã¾ãã </para> <para> -<link linkend="package.html.html-quickform.groups">Groups</link> allow to combine several individual -elements into one entity and to use it as one element. This is also used to create pseudo-elements like date -and hierselect. +<link linkend="package.html.html-quickform.groups">ã°ã«ã¼ã</link> ã使ç¨ããã¨ã +è¤æ°ã®ç¬ç«ããè¦ç´ ãã²ã¨ã¤ã®ã¨ã³ãã£ãã£ã«ã¾ã¨ãã +ãããã²ã¨ã¤ã®è¦ç´ ã§ãããã®ããã«ä½¿ç¨ãããã¨ãã§ãã¾ãã +ãã㯠date ã hierselect ã®ãããªæ¬ä¼¼è¦ç´ ã使ããããã«ã使ç¨ããã¦ãã¾ãã </para> <para> -QuickForm offers a lot of possibilities to customize form layout and appearance. Form output is done via -<link linkend="package.html.html-quickform.intro-renderers">renderers</link> - special classes containing -necessary logic. There are renderers that <link linkend="package.html.html-quickform.html-quickform-renderer-default">directly output HTML</link> -and those that <link linkend="package.html.html-quickform.output.template-renderers">use template engines</link> for this. +QuickForm ã¯ããã©ã¼ã ã®ã¬ã¤ã¢ã¦ããè¦æ ãã夿´ããããã«å¤ãã®æ©è½ãæä¾ãã¦ãã¾ãã +ãã©ã¼ã ã®åºå㯠+<link linkend="package.html.html-quickform.intro-renderers">ã¬ã³ãã©</link> +ãè¡ãã¾ããããã¯å¿ è¦ãªãã¸ãã¯ãçµã¿è¾¼ã¾ããç¹å¥ãªã¯ã©ã¹ã§ãã +<link linkend="package.html.html-quickform.html-quickform-renderer-default">ç´æ¥ HTML ãåºåãã</link> +ã¬ã³ãã©ãã +<link linkend="package.html.html-quickform.output.template-renderers">ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã使ç¨ãã</link> +ã¬ã³ãã©ãããã¾ãã </para> <para> -And finally, you can extend QuickForm by adding your own element types, rules and -<link linkend="package.html.html-quickform.output.renderer-doc">renderers</link>. +ããã¦æå¾ã«ãç¬èªã®è¦ç´ åãæ¤è¨¼è¦åãã㦠+<link linkend="package.html.html-quickform.output.renderer-doc">ã¬ã³ãã©</link> +ã追å ãããã¨ã§ QuickForm ãæ¡å¼µãããã¨ãã§ãã¾ãã </para> </refsect1> </refentry> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/isformbuilt.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.isformbuilt"> <refnamediv> <refname>Page::isFormBuilt()</refname> - <refpurpose>ãã©ã¼ã ãæ¢ã«æ§ç¯ãããããã§ãã¯ãã</refpurpose> + <refpurpose>ãã©ã¼ã ãæ¢ã«æ§ç¯ããããã©ããããã§ãã¯ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -20,15 +21,15 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.isformbuilt.desc"> &title.desc; <para> - ããã¯<link + ããã¯ã<link linkend="package.html.html-quickform-controller.html-quickform-page.buildform"><function>buildForm</function></link> - ãå¼ã¶å¿ è¦ããããã©ãããã§ãã¯ããããã«ä½¿ç¨ãã¾ãã + ãå¼ã¶å¿ è¦ããããã©ããããã§ãã¯ããããã«ä½¿ç¨ãã¾ãã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.isformbuilt.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.isformbuilt.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml:1.1 Sat Mar 20 13:07:35 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/html-quickform-page.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page"> <refnamediv> @@ -23,9 +24,11 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page.desc"> &title.desc; <para> - Note that unlike constructor of <classname>HTML_QuickForm</classname> there is no - <parameter>$action</parameter>, as the form is always submitted to the current page. Note also - that <parameter>$formName</parameter> is <emphasis>not</emphasis> optional. + <classname>HTML_QuickForm</classname> ã®ã³ã³ã¹ãã©ã¯ã¿ã¨ã¯ç°ãªãã + <parameter>$action</parameter> ãåå¨ããªããã¨ã«æ³¨æãã¾ãããã + ããã¯ããã©ã¼ã ã常ã«ç¾å¨ã®ãã¼ã¸ããéä¿¡ãããããã§ãã + ã¾ãã<parameter>$formName</parameter> ã + ãªãã·ã§ã³<emphasis>ã§ã¯ãªã</emphasis>ãã¨ã«ã注æãã¾ãããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page.param"> @@ -96,7 +99,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.html-quickform-page.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/handle.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.handle"> <refnamediv> <refname>Page::handle()</refname> - <refpurpose>ãã³ãã«ãå®è¡ãã</refpurpose> + <refpurpose>ã¢ã¯ã·ã§ã³ãå¦çãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -20,15 +21,15 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.handle.desc"> &title.desc; <para> - ãã®ã¡ã½ããã¯åã«ããã®ã¢ã¯ã·ã§ã³åã«<link + ãã®ã¡ã½ããã¯åã«ããã®ã¢ã¯ã·ã§ã³åã§ <link linkend="package.html.html-quickform-controller.html-quickform-page.addaction">ç»é²ããã</link> - ã¢ã¯ã·ã§ã³ãªãã¸ã§ã¯ãã®<link + ã¢ã¯ã·ã§ã³ãªãã¸ã§ã¯ãã® <link linkend="package.html.html-quickform-controller.html-quickform-action.perform"><function>perform</function></link> - ãå¼ã³ã¾ãã - ãããã¢ã¯ã·ã§ã³ãªãã¸ã§ã¯ããããã§ç»é²ããã¦ãªããã°ã - ã³ã³ããã¼ã©ã®<link + ã¡ã½ãããã³ã¼ã«ãã¾ãã + ã¢ã¯ã·ã§ã³ãªãã¸ã§ã¯ããç»é²ããã¦ããªããã°ã + ã³ã³ããã¼ã©ã® <link linkend="package.html.html-quickform-controller.html-quickform-controller.handle"><function>handle</function></link> - ã¡ã½ãããå¼ã°ããã§ãããã + ã¡ã½ãããã³ã¼ã«ããã¾ãã </para> </refsect1> @@ -55,7 +56,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.handle.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.handle.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/getbuttonname.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.getbuttonname"> <refnamediv> <refname>Page::getButtonName()</refname> - <refpurpose>ç¹æ®ã¢ã¯ã·ã§ã³ãèµ·åããsubmitãã¿ã³ã®ååãè¿ã</refpurpose> + <refpurpose>ç¹å®ã®ã¢ã¯ã·ã§ã³ãèµ·åãã submit ãã¿ã³ã®ååãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -20,20 +21,21 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.desc"> &title.desc; <para> - ç¹æ®ã¢ã¯ã·ã§ã³ãèµ·åããsubmitãã¿ã³ - (ãããã¯<input type="image">ã³ã³ããã¼ã«) - ã®ååãè¿ãã¾ãã - ããã¯ä¸è¨ãæå³ãã¾ãã - if you do + ç¹å®ã®ã¢ã¯ã·ã§ã³ãèµ·åãã submit ãã¿ã³ + (ããã㯠<input type="image"> ã³ã³ããã¼ã«) + ã®ååãè¿ãã¾ããããã¯ä»¥ä¸ã®ãããªãã¨ãæå³ãã¾ãã + <link linkend="package.html.html-quickform-controller.html-quickform-page.buildform"> + <function>buildForm</function></link> ã¡ã½ããå ã§ <programlisting role="php"> <![CDATA[ $this->addElement('submit', $this->getButtonName('foo'), 'Foo'); ]]> </programlisting> -inside the <link linkend="package.html.html-quickform-controller.html-quickform-page.buildform"><function>buildForm</function></link> -method and the user later uses this button to submit the form, then the <literal>'foo'</literal> handler (added -via <link linkend="package.html.html-quickform-controller.html-quickform-page.addaction"><function>addAction</function></link> -will be called. + ã®ããã«ä½¿ç¨ãããã®ãã¿ã³ãç¨ãã¦ãã©ã¼ã ãéä¿¡ããéã«ã¯ + <literal>'foo'</literal> ãã³ãã© + (<link linkend="package.html.html-quickform-controller.html-quickform-page.addaction"> + <function>addAction</function></link> ã§è¿½å ããããã®) + ãã³ã¼ã«ãããã¨ãããã¨ã§ãã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.param"> @@ -59,13 +61,13 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.returns"> &title.returns; <para> - <emphasis>returns</emphasis> submitãã¿ã³ã®"name"屿§ã§ãã + <emphasis>returns</emphasis> submit ãã¿ã³ã® "name" 屿§ã§ãã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.getbuttonname.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/buildform.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.buildform"> <refnamediv> <refname>Page::buildForm()</refname> - <refpurpose>ãã©ã¼ã ã®æ§ç¯ããã</refpurpose> + <refpurpose>ãã©ã¼ã ãæ§ç¯ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -21,22 +22,27 @@ &title.desc; <para> ãã©ã¼ã ãæ§ç¯ãã¾ãã - You should override this method when you subclass <classname>HTML_QuickForm_Page</classname>, - it should contain all the necessary - <link linkend="package.html.html-quickform.html-quickform.addelement"><function>addElement</function></link>, - <link linkend="package.html.html-quickform.html-quickform.applyfilter"><function>applyFilter</function></link>, - <link linkend="package.html.html-quickform.html-quickform.addrule"><function>addRule</function></link> and possibly - <link linkend="package.html.html-quickform.html-quickform.setdefaults"><function>setDefaults</function></link> and - <link linkend="package.html.html-quickform.html-quickform.setconstants"><function>setConstants</function></link> calls. - The method will be called on demand, so please be sure to set <varname>$_formBuilt</varname> property to &true; - to assure that the method works only once. + <classname>HTML_QuickForm_Page</classname> ã®ãµãã¯ã©ã¹ã§ã¯ã + ãã®ã¡ã½ããããªã¼ãã¼ã©ã¤ãããå¿ è¦ãããã¾ãããã®ä¸ã§ã¯ã + <link linkend="package.html.html-quickform.html-quickform.addelement"><function>addElement</function></link>,ã + <link linkend="package.html.html-quickform.html-quickform.applyfilter"><function>applyFilter</function></link>ã + <link linkend="package.html.html-quickform.html-quickform.addrule"><function>addRule</function></link> + ããã¦ãããã + <link linkend="package.html.html-quickform.html-quickform.setdefaults"><function>setDefaults</function></link> + ããã³ + <link linkend="package.html.html-quickform.html-quickform.setconstants"><function>setConstants</function></link> + ãã³ã¼ã«ããå¿ è¦ãããã¾ãã + ãã®ã¡ã½ããã¯ãè¦æ±ã«å¿ã㦠(on demand) ã³ã¼ã«ããã¾ãããã®ããã + ãã®ã¡ã½ãããä¸åº¦ã ãããã³ã¼ã«ãããªãããã«ããããã«ã¯ + <varname>$_formBuilt</varname> ããããã£ã &true; + ã«è¨å®ããããã«ãã¾ãããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.buildform.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.buildform.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml:1.1 Tue Feb 24 16:35:25 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-page/addaction.xml Thu Jun 1 13:27:53 2006 @@ -1,9 +1,10 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-page.addaction"> <refnamediv> <refname>Page::addAction()</refname> - <refpurpose>ç¹æ®ãªã¢ã¯ã·ã§ã³ç¨ã®ãã³ãã©ãç»é²ãã</refpurpose> + <refpurpose>ç¹å®ã®ã¢ã¯ã·ã§ã³ç¨ã®ãã³ãã©ãç»é²ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -59,7 +60,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-page.addaction.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.addaction.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml diff -u peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml:1.1 peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml:1.2 --- peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml:1.1 Tue Feb 24 16:35:23 2004 +++ peardoc/ja/package/html/html-quickform-controller/html-quickform-action/perform.xml Thu Jun 1 13:27:53 2006 @@ -1,4 +1,5 @@ -<!-- $Revision: 1.1 $ --> +<?xml version="1.0" encoding="utf-8" ?> +<!-- $Revision: 1.2 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.html.html-quickform-controller.html-quickform-action.perform"> <refnamediv> @@ -21,7 +22,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-action.perform.desc"> &title.desc; <para> -ãã®ã¡ã½ããã¯å¿ è¦ãªãã¸ãã¯ãæä¾ããåã¯ã©ã¹ã«ãã£ã¦ãªã¼ãã¼ã©ã¤ããããã¹ãã§ãã +åã¯ã©ã¹ã§ãã®ã¡ã½ããããªã¼ãã¼ã©ã¤ãããå¿ è¦ã¨ãªããã¸ãã¯ãæä¾ããªããã°ãªãã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-action.perform.param"> @@ -36,7 +37,7 @@ </term> <listitem> <para> - ã«ã¬ã³ããã©ã¼ã ãã¼ã¸ã + ç¾å¨ã®ãã©ã¼ã ãã¼ã¸ã </para> </listitem> </varlistentry> @@ -51,7 +52,8 @@ </term> <listitem> <para> - Current action name, as one Action object can serve multiple actions + ç¾å¨ã®ã¢ã¯ã·ã§ã³åãã²ã¨ã¤ã® Action ãªãã¸ã§ã¯ãã§ + è¤æ°ã®ã¢ã¯ã·ã§ã³ãæ±ãããããæå®ããå¿ è¦ãããã¾ãã </para> </listitem> </varlistentry> @@ -61,7 +63,7 @@ <refsect1 id="package.html.html-quickform-controller.html-quickform-action.perform.throws"> &title.throws; <para> - <emphasis>throws</emphasis> æããããä¾å¤ã¯ããã¾ããã + ä¾å¤ã¯ã¹ãã¼ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-action.perform.note"> http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/html/html-quickform.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/html/html-quickform.xml diff -u peardoc/ja/package/html/html-quickform.xml:1.2 peardoc/ja/package/html/html-quickform.xml:1.3 --- peardoc/ja/package/html/html-quickform.xml:1.2 Wed Nov 17 12:00:45 2004 +++ peardoc/ja/package/html/html-quickform.xml Thu Jun 1 13:27:53 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.20 Maintainer: haruki Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.21 Maintainer: haruki Status: ready --> <sect1 id="package.html.html-quickform"> <title>HTML_QuickForm</title> <para> @@ -47,6 +47,7 @@ &package.html.html-quickform.html-quickform.getelement; &package.html.html-quickform.html-quickform.getmaxfilesize; &package.html.html-quickform.html-quickform.getregisteredtypes; +&package.html.html-quickform.html-quickform.insertelementbefore; &package.html.html-quickform.html-quickform.iserror; &package.html.html-quickform.html-quickform.istyperegistered; &package.html.html-quickform.html-quickform.registerelementtype; @@ -61,7 +62,7 @@ To be written </para> <sect3 id="package.html.html-quickform.elements.base"> - <title>Base classes</title> + <title>åºæ¬ã¯ã©ã¹ç¾¤</title> &package.html.html-quickform.html-quickform-element; &package.html.html-quickform.html-quickform-element.html-quickform-element; &package.html.html-quickform.html-quickform-element.accept; @@ -299,8 +300,8 @@ <sect3 id="package.html.html-quickform.output.basic-renderers"> <title>åºæ¬çãªã¬ã³ãã©</title> <para> - ãããã®ã¬ã³ãã©ã¯ããã¼ã¸ã§ã³3.0以åã® <classname>HTML_QuickForm</classname> ã³ã¼ãã - åºç¤ã¨ãã¦ãããåä½ã«ä»ã®ã¯ã©ã¹ãå¿ è¦ã¨ãã¾ããã + ãããã®ã¬ã³ãã©ã¯ããã¼ã¸ã§ã³ 3.0 以åã® <classname>HTML_QuickForm</classname> + ã³ã¼ããåºç¤ã¨ãã¦ãããåä½ã«ä»ã®ã¯ã©ã¹ãå¿ è¦ã¨ãã¾ããã </para> &package.html.html-quickform.intro-renderers; &package.html.html-quickform.html-quickform-renderer-default;