cvs: peardoc /fr/package/html html-quickform.xml
| From: | Yannick Torres | Date: | Sun, 27 Aug 2006 11:07:33 +0000 |
| Subject: | cvs: peardoc /fr/package/html html-quickform.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8372@lists.php.net to get a copy of this message | ||
yannick Sun Aug 27 11:07:33 2006 UTC
Modified files:
/peardoc/fr/package/html html-quickform.xml
Log:
* correct withe space
* indentation
* typos
http://cvs.php.net/viewvc.cgi/peardoc/fr/package/html/html-quickform.xml?r1=1.10&r2=1.11&diff_format=u Index: peardoc/fr/package/html/html-quickform.xml diff -u peardoc/fr/package/html/html-quickform.xml:1.10 peardoc/fr/package/html/html-quickform.xml:1.11 --- peardoc/fr/package/html/html-quickform.xml:1.10 Sun Aug 27 11:02:19 2006 +++ peardoc/fr/package/html/html-quickform.xml Sun Aug 27 11:07:33 2006 @@ -1,357 +1,352 @@ -<!-- $Revision: 1.10 $ --> +<?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- $Revision: 1.11 $ --> <!-- EN-Revision: 1.25 Maintainer: ThomasMoulard Status: ready --> + <sect1 id="package.html.html-quickform"> -<title>HTML_QuickForm</title> -<para> - Le package PEAR::HTML_QuickForm fournit des méthodes pour créer, valider + <title>HTML_QuickForm</title> + <para> + Le package PEAR::HTML_QuickForm fournit des méthodes pour créer, valider et traiter des formulaires HTML. -</para> + </para> <sect2 id="package.html.html-quickform.introduction"> <title>Introduction</title> <para> -QuickForm est une bibliothèque pour gérer les formulaires HTML. -Cela fournit une validation Javascript, ainsi qu'une autre côté serveur et -est personnalisable et extensible de beaucoup de façons. -QuickForm est composé de nombreux fichiers. -Le fichier principale est <filename>QuickForm.php</filename> et devrait -être installé dans votre dossier -<filename class="directory">pear/HTML</filename>. -Les autres fichiers importants sont <filename>element.php</filename>, -qui manipule toutes les méthodes concernant les éléments du formulaire, -et <filename>group.php</filename>, qui gère les méthodes permettant de -créer des groupes d'éléments dans le formulaire. -Les deux se situent dans le répertoire -<filename class="directory">HTML/QuickForm</filename> ainsi que les -autres objets du formulaire. -<filename>input.php</filename> contient un classe commune pour tous les -éléments de type input (text, password...). -QuickForm a des objets pour les éléments communs aux formulaires: -select, text, password, checkbox, file, submit, reset, button, image, -radio, hidden, textarea. -QuickForm fournit la possibilité de créer vos propres éléements tant que -vous respectez la compatibilité avec l'API commune. + QuickForm est une bibliothèque pour gérer les formulaires HTML. + Cela fournit une validation Javascript, ainsi qu'une autre côté serveur et + est personnalisable et extensible de beaucoup de façons. + QuickForm est composé de nombreux fichiers. + Le fichier principale est <filename>QuickForm.php</filename> et devrait + être installé dans votre dossier + <filename class="directory">pear/HTML</filename>. + Les autres fichiers importants sont <filename>element.php</filename>, + qui manipule toutes les méthodes concernant les éléments du formulaire, + et <filename>group.php</filename>, qui gère les méthodes permettant de + créer des groupes d'éléments dans le formulaire. + Les deux se situent dans le répertoire + <filename class="directory">HTML/QuickForm</filename> ainsi que les + autres objets du formulaire. + <filename>input.php</filename> contient un classe commune pour tous les + éléments de type input (text, password...). + QuickForm a des objets pour les éléments communs aux formulaires: + select, text, password, checkbox, file, submit, reset, button, image, + radio, hidden, textarea. + QuickForm fournit la possibilité de créer vos propres éléements tant que + vous respectez la compatibilité avec l'API commune. </para> -&package.html.html-quickform.tutorial; -&package.html.html-quickform.intro-faq; -&package.html.html-quickform.intro-elements; -&package.html.html-quickform.intro-migration32; + &package.html.html-quickform.tutorial; + &package.html.html-quickform.intro-faq; + &package.html.html-quickform.intro-elements; + &package.html.html-quickform.intro-migration32; </sect2> <sect2 id="package.html.html-quickform.basic-form"> - <title>Créer un formulaire simple</title> + <title>Créer un formulaire simple</title> <para> -A écrire. + A écrire. </para> -&package.html.html-quickform.html-quickform.html-quickform; -&package.html.html-quickform.html-quickform.addelement; -&package.html.html-quickform.html-quickform.apiversion; -&package.html.html-quickform.html-quickform.createelement; -&package.html.html-quickform.html-quickform.elementexists; -&package.html.html-quickform.html-quickform.errormessage; -&package.html.html-quickform.html-quickform.getelementtype; -&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; -&package.html.html-quickform.html-quickform.removeelement; -&package.html.html-quickform.html-quickform.setmaxfilesize; -&package.html.html-quickform.html-quickform.updateelementattr; + &package.html.html-quickform.html-quickform.html-quickform; + &package.html.html-quickform.html-quickform.addelement; + &package.html.html-quickform.html-quickform.apiversion; + &package.html.html-quickform.html-quickform.createelement; + &package.html.html-quickform.html-quickform.elementexists; + &package.html.html-quickform.html-quickform.errormessage; + &package.html.html-quickform.html-quickform.getelementtype; + &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; + &package.html.html-quickform.html-quickform.removeelement; + &package.html.html-quickform.html-quickform.setmaxfilesize; + &package.html.html-quickform.html-quickform.updateelementattr; </sect2> - + <sect2 id="package.html.html-quickform.elements"> - <title>Classes représentants des éléments de formulaires</title> + <title>Classes représentants des éléments de formulaires</title> <para> -A écrire + A écrire </para> <sect3 id="package.html.html-quickform.elements.base"> - <title>Classes de base</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; -&package.html.html-quickform.html-quickform-element.apiversion; -&package.html.html-quickform.html-quickform-element.exportvalue; -&package.html.html-quickform.html-quickform-element.freeze; -&package.html.html-quickform.html-quickform-element.getfrozenhtml; -&package.html.html-quickform.html-quickform-element.getlabel; -&package.html.html-quickform.html-quickform-element.getname; -&package.html.html-quickform.html-quickform-element.gettype; -&package.html.html-quickform.html-quickform-element.getvalue; -&package.html.html-quickform.html-quickform-element.isfrozen; -&package.html.html-quickform.html-quickform-element.onquickformevent; -&package.html.html-quickform.html-quickform-element.setlabel; -&package.html.html-quickform.html-quickform-element.setname; -&package.html.html-quickform.html-quickform-element.setpersistantfreeze; -&package.html.html-quickform.html-quickform-element.setvalue; -&package.html.html-quickform.html-quickform-element.unfreeze; - -&package.html.html-quickform.html-quickform-input; -&package.html.html-quickform.html-quickform-input.html-quickform-input; -&package.html.html-quickform.html-quickform-input.settype; + <title>Classes de base</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; + &package.html.html-quickform.html-quickform-element.apiversion; + &package.html.html-quickform.html-quickform-element.exportvalue; + &package.html.html-quickform.html-quickform-element.freeze; + &package.html.html-quickform.html-quickform-element.getfrozenhtml; + &package.html.html-quickform.html-quickform-element.getlabel; + &package.html.html-quickform.html-quickform-element.getname; + &package.html.html-quickform.html-quickform-element.gettype; + &package.html.html-quickform.html-quickform-element.getvalue; + &package.html.html-quickform.html-quickform-element.isfrozen; + &package.html.html-quickform.html-quickform-element.onquickformevent; + &package.html.html-quickform.html-quickform-element.setlabel; + &package.html.html-quickform.html-quickform-element.setname; + &package.html.html-quickform.html-quickform-element.setpersistantfreeze; + &package.html.html-quickform.html-quickform-element.setvalue; + &package.html.html-quickform.html-quickform-element.unfreeze; + &package.html.html-quickform.html-quickform-input; + &package.html.html-quickform.html-quickform-input.html-quickform-input; + &package.html.html-quickform.html-quickform-input.settype; </sect3> <sect3 id="package.html.html-quickform.elements.standard"> - <title>Eléments HTML standards</title> -&package.html.html-quickform.html-quickform-button; -&package.html.html-quickform.html-quickform-button.html-quickform-button; - -&package.html.html-quickform.html-quickform-checkbox; -&package.html.html-quickform.html-quickform-checkbox.html-quickform-checkbox; -&package.html.html-quickform.html-quickform-checkbox.getchecked; -&package.html.html-quickform.html-quickform-checkbox.gettext; -&package.html.html-quickform.html-quickform-checkbox.setchecked; -&package.html.html-quickform.html-quickform-checkbox.settext; - -&package.html.html-quickform.html-quickform-file; -&package.html.html-quickform.html-quickform-file.html-quickform-file; -&package.html.html-quickform.html-quickform-file.getsize; -&package.html.html-quickform.html-quickform-file.getvalue; -&package.html.html-quickform.html-quickform-file.isuploadedfile; -&package.html.html-quickform.html-quickform-file.moveuploadedfile; -&package.html.html-quickform.html-quickform-file.setsize; - -&package.html.html-quickform.html-quickform-hidden; -&package.html.html-quickform.html-quickform-hidden.html-quickform-hidden; - -&package.html.html-quickform.html-quickform-image; -&package.html.html-quickform.html-quickform-image.html-quickform-image; -&package.html.html-quickform.html-quickform-image.setalign; -&package.html.html-quickform.html-quickform-image.setborder; -&package.html.html-quickform.html-quickform-image.setsource; - -&package.html.html-quickform.html-quickform-password; -&package.html.html-quickform.html-quickform-password.html-quickform-password; -&package.html.html-quickform.html-quickform-password.setmaxlength; -&package.html.html-quickform.html-quickform-password.setsize; - -&package.html.html-quickform.html-quickform-radio; -&package.html.html-quickform.html-quickform-radio.html-quickform-radio; -&package.html.html-quickform.html-quickform-radio.getchecked; -&package.html.html-quickform.html-quickform-radio.gettext; -&package.html.html-quickform.html-quickform-radio.setchecked; -&package.html.html-quickform.html-quickform-radio.settext; - -&package.html.html-quickform.html-quickform-reset; -&package.html.html-quickform.html-quickform-reset.html-quickform-reset; - -&package.html.html-quickform.html-quickform-select; -&package.html.html-quickform.html-quickform-select.html-quickform-select; -&package.html.html-quickform.html-quickform-select.addoption; -&package.html.html-quickform.html-quickform-select.getmultiple; -&package.html.html-quickform.html-quickform-select.getprivatename; -&package.html.html-quickform.html-quickform-select.getselected; -&package.html.html-quickform.html-quickform-select.getsize; -&package.html.html-quickform.html-quickform-select.load; -&package.html.html-quickform.html-quickform-select.loadarray; -&package.html.html-quickform.html-quickform-select.loaddbresult; -&package.html.html-quickform.html-quickform-select.loadquery; -&package.html.html-quickform.html-quickform-select.setmultiple; -&package.html.html-quickform.html-quickform-select.setselected; -&package.html.html-quickform.html-quickform-select.setsize; - -&package.html.html-quickform.html-quickform-submit; -&package.html.html-quickform.html-quickform-submit.html-quickform-submit; - -&package.html.html-quickform.html-quickform-text; -&package.html.html-quickform.html-quickform-text.html-quickform-text; -&package.html.html-quickform.html-quickform-text.setmaxlength; -&package.html.html-quickform.html-quickform-text.setsize; - -&package.html.html-quickform.html-quickform-textarea; -&package.html.html-quickform.html-quickform-textarea.html-quickform-textarea; -&package.html.html-quickform.html-quickform-textarea.setcols; -&package.html.html-quickform.html-quickform-textarea.setrows; -&package.html.html-quickform.html-quickform-textarea.setwrap; - -&package.html.html-quickform.html-quickform-xbutton; -&package.html.html-quickform.html-quickform-xbutton.html-quickform-xbutton; -&package.html.html-quickform.html-quickform-xbutton.setcontent; + <title>Eléments HTML standards</title> + &package.html.html-quickform.html-quickform-button; + &package.html.html-quickform.html-quickform-button.html-quickform-button; + &package.html.html-quickform.html-quickform-checkbox; + &package.html.html-quickform.html-quickform-checkbox.html-quickform-checkbox; + &package.html.html-quickform.html-quickform-checkbox.getchecked; + &package.html.html-quickform.html-quickform-checkbox.gettext; + &package.html.html-quickform.html-quickform-checkbox.setchecked; + &package.html.html-quickform.html-quickform-checkbox.settext; + &package.html.html-quickform.html-quickform-file; + &package.html.html-quickform.html-quickform-file.html-quickform-file; + &package.html.html-quickform.html-quickform-file.getsize; + &package.html.html-quickform.html-quickform-file.getvalue; + &package.html.html-quickform.html-quickform-file.isuploadedfile; + &package.html.html-quickform.html-quickform-file.moveuploadedfile; + &package.html.html-quickform.html-quickform-file.setsize; + &package.html.html-quickform.html-quickform-hidden; + &package.html.html-quickform.html-quickform-hidden.html-quickform-hidden; + &package.html.html-quickform.html-quickform-image; + &package.html.html-quickform.html-quickform-image.html-quickform-image; + &package.html.html-quickform.html-quickform-image.setalign; + &package.html.html-quickform.html-quickform-image.setborder; + &package.html.html-quickform.html-quickform-image.setsource; + &package.html.html-quickform.html-quickform-password; + &package.html.html-quickform.html-quickform-password.html-quickform-password; + &package.html.html-quickform.html-quickform-password.setmaxlength; + &package.html.html-quickform.html-quickform-password.setsize; + &package.html.html-quickform.html-quickform-radio; + &package.html.html-quickform.html-quickform-radio.html-quickform-radio; + &package.html.html-quickform.html-quickform-radio.getchecked; + &package.html.html-quickform.html-quickform-radio.gettext; + &package.html.html-quickform.html-quickform-radio.setchecked; + &package.html.html-quickform.html-quickform-radio.settext; + &package.html.html-quickform.html-quickform-reset; + &package.html.html-quickform.html-quickform-reset.html-quickform-reset; + &package.html.html-quickform.html-quickform-select; + &package.html.html-quickform.html-quickform-select.html-quickform-select; + &package.html.html-quickform.html-quickform-select.addoption; + &package.html.html-quickform.html-quickform-select.getmultiple; + &package.html.html-quickform.html-quickform-select.getprivatename; + &package.html.html-quickform.html-quickform-select.getselected; + &package.html.html-quickform.html-quickform-select.getsize; + &package.html.html-quickform.html-quickform-select.load; + &package.html.html-quickform.html-quickform-select.loadarray; + &package.html.html-quickform.html-quickform-select.loaddbresult; + &package.html.html-quickform.html-quickform-select.loadquery; + &package.html.html-quickform.html-quickform-select.setmultiple; + &package.html.html-quickform.html-quickform-select.setselected; + &package.html.html-quickform.html-quickform-select.setsize; + &package.html.html-quickform.html-quickform-submit; + &package.html.html-quickform.html-quickform-submit.html-quickform-submit; + &package.html.html-quickform.html-quickform-text; + &package.html.html-quickform.html-quickform-text.html-quickform-text; + &package.html.html-quickform.html-quickform-text.setmaxlength; + &package.html.html-quickform.html-quickform-text.setsize; + &package.html.html-quickform.html-quickform-textarea; + &package.html.html-quickform.html-quickform-textarea.html-quickform-textarea; + &package.html.html-quickform.html-quickform-textarea.setcols; + &package.html.html-quickform.html-quickform-textarea.setrows; + &package.html.html-quickform.html-quickform-textarea.setwrap; + &package.html.html-quickform.html-quickform-xbutton; + &package.html.html-quickform.html-quickform-xbutton.html-quickform-xbutton; + &package.html.html-quickform.html-quickform-xbutton.setcontent; </sect3> + <sect3 id="package.html.html-quickform.elements.custom"> - <title>Eléments personalisables</title> -&package.html.html-quickform.html-quickform-advcheckbox; -&package.html.html-quickform.html-quickform-advcheckbox.html-quickform-advcheckbox; -&package.html.html-quickform.html-quickform-advcheckbox.getonclickjs; -&package.html.html-quickform.html-quickform-advcheckbox.getprivatename; -&package.html.html-quickform.html-quickform-advcheckbox.setvalues; - -&package.html.html-quickform.html-quickform-autocomplete; -&package.html.html-quickform.html-quickform-autocomplete.html-quickform-autocomplete; -&package.html.html-quickform.html-quickform-autocomplete.setoptions; - -&package.html.html-quickform.html-quickform-date; -&package.html.html-quickform.html-quickform-date.html-quickform-date; - -&package.html.html-quickform.html-quickform-header; -&package.html.html-quickform.html-quickform-header.html-quickform-header; - -&package.html.html-quickform.html-quickform-hiddenselect; -&package.html.html-quickform.html-quickform-hiddenselect.html-quickform-hiddenselect; - -&package.html.html-quickform.html-quickform-hierselect; -&package.html.html-quickform.html-quickform-hierselect.html-quickform-hierselect; -&package.html.html-quickform.html-quickform-hierselect.setoptions; -&package.html.html-quickform.html-quickform-hierselect.setmainoptions; -&package.html.html-quickform.html-quickform-hierselect.setsecoptions; - -&package.html.html-quickform.html-quickform-html; -&package.html.html-quickform.html-quickform-html.html-quickform-html; - -&package.html.html-quickform.html-quickform-link; -&package.html.html-quickform.html-quickform-link.html-quickform-link; -&package.html.html-quickform.html-quickform-link.sethref; - -&package.html.html-quickform.html-quickform-static; -&package.html.html-quickform.html-quickform-static.html-quickform-static; -&package.html.html-quickform.html-quickform-static.settext; + <title>Eléments personalisables</title> + &package.html.html-quickform.html-quickform-advcheckbox; + &package.html.html-quickform.html-quickform-advcheckbox.html-quickform-advcheckbox; + &package.html.html-quickform.html-quickform-advcheckbox.getonclickjs; + &package.html.html-quickform.html-quickform-advcheckbox.getprivatename; + &package.html.html-quickform.html-quickform-advcheckbox.setvalues; + &package.html.html-quickform.html-quickform-autocomplete; + &package.html.html-quickform.html-quickform-autocomplete.html-quickform-autocomplete; + &package.html.html-quickform.html-quickform-autocomplete.setoptions; + &package.html.html-quickform.html-quickform-date; + &package.html.html-quickform.html-quickform-date.html-quickform-date; + &package.html.html-quickform.html-quickform-header; + &package.html.html-quickform.html-quickform-header.html-quickform-header; + &package.html.html-quickform.html-quickform-hiddenselect; + &package.html.html-quickform.html-quickform-hiddenselect.html-quickform-hiddenselect; + &package.html.html-quickform.html-quickform-hierselect; + &package.html.html-quickform.html-quickform-hierselect.html-quickform-hierselect; + &package.html.html-quickform.html-quickform-hierselect.setoptions; + &package.html.html-quickform.html-quickform-hierselect.setmainoptions; + &package.html.html-quickform.html-quickform-hierselect.setsecoptions; + &package.html.html-quickform.html-quickform-html; + &package.html.html-quickform.html-quickform-html.html-quickform-html; + &package.html.html-quickform.html-quickform-link; + &package.html.html-quickform.html-quickform-link.html-quickform-link; + &package.html.html-quickform.html-quickform-link.sethref; + &package.html.html-quickform.html-quickform-static; + &package.html.html-quickform.html-quickform-static.html-quickform-static; + &package.html.html-quickform.html-quickform-static.settext; </sect3> - - - </sect2> + </sect2> <sect2 id="package.html.html-quickform.groups"> <title>Utiliser les groupes</title> <para> -A écrire. + A écrire. </para> -&package.html.html-quickform.html-quickform.addgroup; -&package.html.html-quickform.html-quickform-group; -&package.html.html-quickform.html-quickform-group.html-quickform-group; -&package.html.html-quickform.html-quickform-group.getelementname; -&package.html.html-quickform.html-quickform-group.getelements; -&package.html.html-quickform.html-quickform-group.getgrouptype; -&package.html.html-quickform.html-quickform-group.setelements; + &package.html.html-quickform.html-quickform.addgroup; + &package.html.html-quickform.html-quickform-group; + &package.html.html-quickform.html-quickform-group.html-quickform-group; + &package.html.html-quickform.html-quickform-group.getelementname; + &package.html.html-quickform.html-quickform-group.getelements; + &package.html.html-quickform.html-quickform-group.getgrouptype; + &package.html.html-quickform.html-quickform-group.setelements; </sect2> <sect2 id="package.html.html-quickform.values"> - <title>Travailler avec les valeurs des éléments</title> + <title>Travailler avec les valeurs des éléments</title> <para> - Cette section couvre les méthodes offertes par QuickForm pour gérer les valeurs des éléments des formulaires et travailler avec les valeurs soumises. + Cette section couvre les méthodes offertes par QuickForm pour gérer les + valeurs des éléments des formulaires et travailler avec les valeurs soumises. </para> <sect3 id="package.html.html-quickform.values.getting-setting"> - <title>Getting, setting and processing element values</title> -&package.html.html-quickform.html-quickform.setconstants; -&package.html.html-quickform.html-quickform.setdefaults; -&package.html.html-quickform.html-quickform.exportvalue; -&package.html.html-quickform.html-quickform.exportvalues; -&package.html.html-quickform.html-quickform.getelementvalue; -&package.html.html-quickform.html-quickform.getsubmitvalue; -&package.html.html-quickform.html-quickform.getsubmitvalues; -&package.html.html-quickform.html-quickform.process; + <title>Getting, setting and processing element values</title> + &package.html.html-quickform.html-quickform.setconstants; + &package.html.html-quickform.html-quickform.setdefaults; + &package.html.html-quickform.html-quickform.exportvalue; + &package.html.html-quickform.html-quickform.exportvalues; + &package.html.html-quickform.html-quickform.getelementvalue; + &package.html.html-quickform.html-quickform.getsubmitvalue; + &package.html.html-quickform.html-quickform.getsubmitvalues; + &package.html.html-quickform.html-quickform.process; </sect3> <sect3 id="package.html.html-quickform.values.validation"> - <title>Validation and filtres</title> - <para> -QuickForm fournit également des règles pour le support de la validation. Vous pouvez programmer vos propres règles de validation, les enregister dans QuickForm et ensuite les appeler dans votre script. Par défaut, QuickForm peut manipuler les expressions rationnelles (du type d'<ulink url="&url.php.lookup;preg-match">preg_match</ulink>) et vérifier les éléments requis. Si vous souhaitez une validation du côté client, QuickForm peut générer le code Javascript requis. La validation côté serveur est toujours activée par défaut. - </para> - <para> -QuickForm peut égalment utiliser des filtres pour importer des données dans le formulaire ou pour traiter les données une fois que le formulaire a été envoyé. Les filtres fonctionnent de la même façon que les filtres à part que l'on a pas besoin de les enregistrer. Vous pouvez écrire vos propres fonctions filtres ou les appeler dans votre script. Vous pouvez appeler n'importe quelle fonction php (par ex. trim, addslashes, htmlentities, etc.) et les appliquer de façon récursive à la valeur de vos éléments. - </para> -&package.html.html-quickform.intro-validation; -&package.html.html-quickform.html-quickform.addrule; -&package.html.html-quickform.html-quickform.addgrouprule; -&package.html.html-quickform.html-quickform.addformrule; -&package.html.html-quickform.html-quickform.iselementrequired; -&package.html.html-quickform.html-quickform.validate; -&package.html.html-quickform.html-quickform.getelementerror; -&package.html.html-quickform.html-quickform.setelementerror; - -&package.html.html-quickform.html-quickform.registerrule; -&package.html.html-quickform.html-quickform.getregisteredrules; -&package.html.html-quickform.html-quickform.isruleregistered; - -&package.html.html-quickform.html-quickform.applyfilter; + <title>Validation and filtres</title> + <para> + QuickForm fournit également des règles pour le support de la validation. + Vous pouvez programmer vos propres règles de validation, les enregister + dans QuickForm et ensuite les appeler dans votre script. Par défaut, QuickForm + peut manipuler les expressions rationnelles (du type + d'<ulink url="&url.php.lookup;preg-match">preg_match</ulink>) et vérifier + les éléments requis. Si vous souhaitez une validation du côté client, QuickForm + peut générer le code Javascript requis. La validation côté serveur est toujours + activée par défaut. + </para> + <para> + QuickForm peut égalment utiliser des filtres pour importer des données dans le + formulaire ou pour traiter les données une fois que le formulaire a été envoyé. + Les filtres fonctionnent de la même façon que les filtres à part que l'on a + pas besoin de les enregistrer. Vous pouvez écrire vos propres fonctions filtres ou + les appeler dans votre script. Vous pouvez appeler n'importe quelle fonction php + (par ex. trim, addslashes, htmlentities, etc.) et les appliquer de façon récursive à + la valeur de vos éléments. + </para> + &package.html.html-quickform.intro-validation; + &package.html.html-quickform.html-quickform.addrule; + &package.html.html-quickform.html-quickform.addgrouprule; + &package.html.html-quickform.html-quickform.addformrule; + &package.html.html-quickform.html-quickform.iselementrequired; + &package.html.html-quickform.html-quickform.validate; + &package.html.html-quickform.html-quickform.getelementerror; + &package.html.html-quickform.html-quickform.setelementerror; + &package.html.html-quickform.html-quickform.registerrule; + &package.html.html-quickform.html-quickform.getregisteredrules; + &package.html.html-quickform.html-quickform.isruleregistered; + &package.html.html-quickform.html-quickform.applyfilter; </sect3> </sect2> <sect2 id="package.html.html-quickform.output"> <title>Outputting the form</title> <para> -Votre formulaire peut être personnalisé de nombreuses façons. -QuickForm peut utiliser différents types de moteurs de rendu et en fourni un par défaut qui support la personnalisation -du formulaire, des éléments, des messages d'erreur, des en-têtes, des notes et signes des éléments requis. -Vous pouvez également écrires vos propres moteurs de rendu. + Votre formulaire peut être personnalisé de nombreuses façons. + QuickForm peut utiliser différents types de moteurs de rendu et en fourni un par + défaut qui support la personnalisation du formulaire, des éléments, des messages + d'erreur, des en-têtes, des notes et signes des éléments requis. + Vous pouvez également écrires vos propres moteurs de rendu. </para> <sect3 id="package.html.html-quickform.output.form-customization"> <title>Form customization and output helpers</title> -&package.html.html-quickform.html-quickform.freeze; -&package.html.html-quickform.html-quickform.iselementfrozen; -&package.html.html-quickform.html-quickform.isfrozen; - -&package.html.html-quickform.html-quickform.setrequirednote; -&package.html.html-quickform.html-quickform.setjswarnings; -&package.html.html-quickform.html-quickform.getrequirednote; -&package.html.html-quickform.html-quickform.getvalidationscript; - -&package.html.html-quickform.html-quickform.accept; -&package.html.html-quickform.html-quickform.defaultrenderer; -&package.html.html-quickform.html-quickform.toarray; -&package.html.html-quickform.html-quickform.tohtml; -&package.html.html-quickform.html-quickform.display; - + &package.html.html-quickform.html-quickform.freeze; + &package.html.html-quickform.html-quickform.iselementfrozen; + &package.html.html-quickform.html-quickform.isfrozen; + &package.html.html-quickform.html-quickform.setrequirednote; + &package.html.html-quickform.html-quickform.setjswarnings; + &package.html.html-quickform.html-quickform.getrequirednote; + &package.html.html-quickform.html-quickform.getvalidationscript; + &package.html.html-quickform.html-quickform.accept; + &package.html.html-quickform.html-quickform.defaultrenderer; + &package.html.html-quickform.html-quickform.toarray; + &package.html.html-quickform.html-quickform.tohtml; + &package.html.html-quickform.html-quickform.display; </sect3> <sect3 id="package.html.html-quickform.output.basic-renderers"> <title>Moteurs de rendu simples</title> - <para>Ces moteurs sont fondé sur le code de <classname>HTML_QuickForm</classname> pre-3.0 et ne nécessite aucune classe externe pour fonctionner.</para> -&package.html.html-quickform.intro-renderers; -&package.html.html-quickform.html-quickform-renderer-default; -&package.html.html-quickform.html-quickform-renderer-default.clearalltemplates; -&package.html.html-quickform.html-quickform-renderer-default.setelementtemplate; -&package.html.html-quickform.html-quickform-renderer-default.setformtemplate; -&package.html.html-quickform.html-quickform-renderer-default.setgroupelementtemplate; -&package.html.html-quickform.html-quickform-renderer-default.setgrouptemplate; -&package.html.html-quickform.html-quickform-renderer-default.setheadertemplate; -&package.html.html-quickform.html-quickform-renderer-default.setrequirednotetemplate; -&package.html.html-quickform.html-quickform-renderer-default.tohtml; - -&package.html.html-quickform.html-quickform-renderer-array; -&package.html.html-quickform.html-quickform-renderer-array.html-quickform-renderer-array; -&package.html.html-quickform.html-quickform-renderer-array.setelementstyle; -&package.html.html-quickform.html-quickform-renderer-array.toarray; + <para> + Ces moteurs sont fondé sur le code de <classname>HTML_QuickForm</classname> + pre-3.0 et ne nécessite aucune classe externe pour fonctionner. + </para> + &package.html.html-quickform.intro-renderers; + &package.html.html-quickform.html-quickform-renderer-default; + &package.html.html-quickform.html-quickform-renderer-default.clearalltemplates; + &package.html.html-quickform.html-quickform-renderer-default.setelementtemplate; + &package.html.html-quickform.html-quickform-renderer-default.setformtemplate; + &package.html.html-quickform.html-quickform-renderer-default.setgroupelementtemplate; + &package.html.html-quickform.html-quickform-renderer-default.setgrouptemplate; + &package.html.html-quickform.html-quickform-renderer-default.setheadertemplate; + &package.html.html-quickform.html-quickform-renderer-default.setrequirednotetemplate; + &package.html.html-quickform.html-quickform-renderer-default.tohtml; + &package.html.html-quickform.html-quickform-renderer-array; + &package.html.html-quickform.html-quickform-renderer-array.html-quickform-renderer-array; + &package.html.html-quickform.html-quickform-renderer-array.setelementstyle; + &package.html.html-quickform.html-quickform-renderer-array.toarray; </sect3> - + <sect3 id="package.html.html-quickform.output.template-renderers"> - <title>Moteurs de rendu fondé sur les templates</title> - <para>Ces moteurs de rendu utilisent des gestionnaires de templates pour générer réellement leur formulaire HTML.</para> -&package.html.html-quickform.html-quickform-renderer-arraysmarty; -&package.html.html-quickform.html-quickform-renderer-arraysmarty.html-quickform-renderer-arraysmarty; -&package.html.html-quickform.html-quickform-renderer-arraysmarty.seterrortemplate; -&package.html.html-quickform.html-quickform-renderer-arraysmarty.setrequiredtemplate; - -&package.html.html-quickform.html-quickform-renderer-itdynamic; -&package.html.html-quickform.html-quickform-renderer-itdynamic.html-quickform-renderer-itdynamic; -&package.html.html-quickform.html-quickform-renderer-itdynamic.setelementblock; -&package.html.html-quickform.html-quickform-renderer-itdynamic.setheaderblock; - -&package.html.html-quickform.html-quickform-renderer-itstatic; -&package.html.html-quickform.html-quickform-renderer-itstatic.html-quickform-renderer-itstatic; -&package.html.html-quickform.html-quickform-renderer-itstatic.seterrortemplate; -&package.html.html-quickform.html-quickform-renderer-itstatic.setrequiredtemplate; - -&package.html.html-quickform.html-quickform-renderer-quickhtml; -&package.html.html-quickform.html-quickform-renderer-quickhtml.html-quickform-renderer-quickhtml; -&package.html.html-quickform.html-quickform-renderer-quickhtml.tohtml; -&package.html.html-quickform.html-quickform-renderer-quickhtml.elementtohtml; + <title>Moteurs de rendu fondé sur les templates</title> + <para> + Ces moteurs de rendu utilisent des gestionnaires de templates pour générer réellement leur formulaire HTML. + </para> + &package.html.html-quickform.html-quickform-renderer-arraysmarty; + &package.html.html-quickform.html-quickform-renderer-arraysmarty.html-quickform-renderer-arraysmarty; + &package.html.html-quickform.html-quickform-renderer-arraysmarty.seterrortemplate; + &package.html.html-quickform.html-quickform-renderer-arraysmarty.setrequiredtemplate; + &package.html.html-quickform.html-quickform-renderer-itdynamic; + &package.html.html-quickform.html-quickform-renderer-itdynamic.html-quickform-renderer-itdynamic; + &package.html.html-quickform.html-quickform-renderer-itdynamic.setelementblock; + &package.html.html-quickform.html-quickform-renderer-itdynamic.setheaderblock; + &package.html.html-quickform.html-quickform-renderer-itstatic; + &package.html.html-quickform.html-quickform-renderer-itstatic.html-quickform-renderer-itstatic; + &package.html.html-quickform.html-quickform-renderer-itstatic.seterrortemplate; + &package.html.html-quickform.html-quickform-renderer-itstatic.setrequiredtemplate; + &package.html.html-quickform.html-quickform-renderer-quickhtml; + &package.html.html-quickform.html-quickform-renderer-quickhtml.html-quickform-renderer-quickhtml; + &package.html.html-quickform.html-quickform-renderer-quickhtml.tohtml; + &package.html.html-quickform.html-quickform-renderer-quickhtml.elementtohtml; </sect3> - + <sect3 id="package.html.html-quickform.output.renderer-doc"> <title>Intrastructure du moteur de rendu</title> - <para>Si vous voulez modifier un moteur de rendu existant ou en écrire un nouveau, cette section vous concerne.</para> -&package.html.html-quickform.html-quickform-renderer; -&package.html.html-quickform.html-quickform-renderer.startform; -&package.html.html-quickform.html-quickform-renderer.finishform; -&package.html.html-quickform.html-quickform-renderer.startgroup; -&package.html.html-quickform.html-quickform-renderer.finishgroup; -&package.html.html-quickform.html-quickform-renderer.renderelement; -&package.html.html-quickform.html-quickform-renderer.renderheader; -&package.html.html-quickform.html-quickform-renderer.renderhidden; -&package.html.html-quickform.html-quickform-renderer.renderhtml; + <para> + Si vous voulez modifier un moteur de rendu existant ou en écrire un nouveau, + cette section vous concerne. + </para> + &package.html.html-quickform.html-quickform-renderer; + &package.html.html-quickform.html-quickform-renderer.startform; + &package.html.html-quickform.html-quickform-renderer.finishform; + &package.html.html-quickform.html-quickform-renderer.startgroup; + &package.html.html-quickform.html-quickform-renderer.finishgroup; + &package.html.html-quickform.html-quickform-renderer.renderelement; + &package.html.html-quickform.html-quickform-renderer.renderheader; + &package.html.html-quickform.html-quickform-renderer.renderhidden; + &package.html.html-quickform.html-quickform-renderer.renderhtml; </sect3> </sect2> </sect1> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -370,4 +365,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file
http://cvs.php.net/viewvc.cgi/peardoc/fr/package/html/html-quickform.xml?r1=1.10&r2=1.11&diff_format=u Index: peardoc/fr/package/html/html-quickform.xml diff -u peardoc/fr/package/html/html-quickform.xml:1.10 peardoc/fr/package/html/html-quickform.xml:1.11 --- peardoc/fr/package/html/html-quickform.xml:1.10 Sun Aug 27 11:02:19 2006 +++ peardoc/fr/package/html/html-quickform.xml Sun Aug 27 11:07:33 2006 @@ -1,357 +1,352 @@ -<!-- $Revision: 1.10 $ --> +<?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- $Revision: 1.11 $ --> <!-- EN-Revision: 1.25 Maintainer: ThomasMoulard Status: ready --> + <sect1 id="package.html.html-quickform"> -<title>HTML_QuickForm</title> -<para> - Le package PEAR::HTML_QuickForm fournit des méthodes pour créer, valider + <title>HTML_QuickForm</title> + <para> + Le package PEAR::HTML_QuickForm fournit des méthodes pour créer, valider et traiter des formulaires HTML. -</para> + </para> <sect2 id="package.html.html-quickform.introduction"> <title>Introduction</title> <para> -QuickForm est une bibliothèque pour gérer les formulaires HTML. -Cela fournit une validation Javascript, ainsi qu'une autre côté serveur et -est personnalisable et extensible de beaucoup de façons. -QuickForm est composé de nombreux fichiers. -Le fichier principale est <filename>QuickForm.php</filename> et devrait -être installé dans votre dossier -<filename class="directory">pear/HTML</filename>. -Les autres fichiers importants sont <filename>element.php</filename>, -qui manipule toutes les méthodes concernant les éléments du formulaire, -et <filename>group.php</filename>, qui gère les méthodes permettant de -créer des groupes d'éléments dans le formulaire. -Les deux se situent dans le répertoire -<filename class="directory">HTML/QuickForm</filename> ainsi que les -autres objets du formulaire. -<filename>input.php</filename> contient un classe commune pour tous les -éléments de type input (text, password...). -QuickForm a des objets pour les éléments communs aux formulaires: -select, text, password, checkbox, file, submit, reset, button, image, -radio, hidden, textarea. -QuickForm fournit la possibilité de créer vos propres éléements tant que -vous respectez la compatibilité avec l'API commune. + QuickForm est une bibliothèque pour gérer les formulaires HTML. + Cela fournit une validation Javascript, ainsi qu'une autre côté serveur et + est personnalisable et extensible de beaucoup de façons. + QuickForm est composé de nombreux fichiers. + Le fichier principale est <filename>QuickForm.php</filename> et devrait + être installé dans votre dossier + <filename class="directory">pear/HTML</filename>. + Les autres fichiers importants sont <filename>element.php</filename>, + qui manipule toutes les méthodes concernant les éléments du formulaire, + et <filename>group.php</filename>, qui gère les méthodes permettant de + créer des groupes d'éléments dans le formulaire. + Les deux se situent dans le répertoire + <filename class="directory">HTML/QuickForm</filename> ainsi que les + autres objets du formulaire. + <filename>input.php</filename> contient un classe commune pour tous les + éléments de type input (text, password...). + QuickForm a des objets pour les éléments communs aux formulaires: + select, text, password, checkbox, file, submit, reset, button, image, + radio, hidden, textarea. + QuickForm fournit la possibilité de créer vos propres éléements tant que + vous respectez la compatibilité avec l'API commune. </para> -&package.html.html-quickform.tutorial; -&package.html.html-quickform.intro-faq; -&package.html.html-quickform.intro-elements; -&package.html.html-quickform.intro-migration32; + &package.html.html-quickform.tutorial; + &package.html.html-quickform.intro-faq; + &package.html.html-quickform.intro-elements; + &package.html.html-quickform.intro-migration32; </sect2> <sect2 id="package.html.html-quickform.basic-form"> - <title>Créer un formulaire simple</title> + <title>Créer un formulaire simple</title> <para> -A écrire. + A écrire. </para> -&package.html.html-quickform.html-quickform.html-quickform; -&package.html.html-quickform.html-quickform.addelement; -&package.html.html-quickform.html-quickform.apiversion; -&package.html.html-quickform.html-quickform.createelement; -&package.html.html-quickform.html-quickform.elementexists; -&package.html.html-quickform.html-quickform.errormessage; -&package.html.html-quickform.html-quickform.getelementtype; -&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; -&package.html.html-quickform.html-quickform.removeelement; -&package.html.html-quickform.html-quickform.setmaxfilesize; -&package.html.html-quickform.html-quickform.updateelementattr; + &package.html.html-quickform.html-quickform.html-quickform; + &package.html.html-quickform.html-quickform.addelement; + &package.html.html-quickform.html-quickform.apiversion; + &package.html.html-quickform.html-quickform.createelement; + &package.html.html-quickform.html-quickform.elementexists; + &package.html.html-quickform.html-quickform.errormessage; + &package.html.html-quickform.html-quickform.getelementtype; + &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; + &package.html.html-quickform.html-quickform.removeelement; + &package.html.html-quickform.html-quickform.setmaxfilesize; + &package.html.html-quickform.html-quickform.updateelementattr; </sect2> - + <sect2 id="package.html.html-quickform.elements"> - <title>Classes représentants des éléments de formulaires</title> + <title>Classes représentants des éléments de formulaires</title> <para> -A écrire + A écrire </para> <sect3 id="package.html.html-quickform.elements.base"> - <title>Classes de base</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; -&package.html.html-quickform.html-quickform-element.apiversion; -&package.html.html-quickform.html-quickform-element.exportvalue; -&package.html.html-quickform.html-quickform-element.freeze; -&package.html.html-quickform.html-quickform-element.getfrozenhtml; -&package.html.html-quickform.html-quickform-element.getlabel; -&package.html.html-quickform.html-quickform-element.getname; -&package.html.html-quickform.html-quickform-element.gettype; -&package.html.html-quickform.html-quickform-element.getvalue; -&package.html.html-quickform.html-quickform-element.isfrozen; -&package.html.html-quickform.html-quickform-element.onquickformevent; -&package.html.html-quickform.html-quickform-element.setlabel; -&package.html.html-quickform.html-quickform-element.setname; -&package.html.html-quickform.html-quickform-element.setpersistantfreeze; -&package.html.html-quickform.html-quickform-element.setvalue; -&package.html.html-quickform.html-quickform-element.unfreeze; - -&package.html.html-quickform.html-quickform-input; -&package.html.html-quickform.html-quickform-input.html-quickform-input; -&package.html.html-quickform.html-quickform-input.settype; + <title>Classes de base</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; + &package.html.html-quickform.html-quickform-element.apiversion; + &package.html.html-quickform.html-quickform-element.exportvalue; + &package.html.html-quickform.html-quickform-element.freeze; + &package.html.html-quickform.html-quickform-element.getfrozenhtml; + &package.html.html-quickform.html-quickform-element.getlabel; + &package.html.html-quickform.html-quickform-element.getname; + &package.html.html-quickform.html-quickform-element.gettype; + &package.html.html-quickform.html-quickform-element.getvalue; + &package.html.html-quickform.html-quickform-element.isfrozen; + &package.html.html-quickform.html-quickform-element.onquickformevent; + &package.html.html-quickform.html-quickform-element.setlabel; + &package.html.html-quickform.html-quickform-element.setname; + &package.html.html-quickform.html-quickform-element.setpersistantfreeze; + &package.html.html-quickform.html-quickform-element.setvalue; + &package.html.html-quickform.html-quickform-element.unfreeze; + &package.html.html-quickform.html-quickform-input; + &package.html.html-quickform.html-quickform-input.html-quickform-input; + &package.html.html-quickform.html-quickform-input.settype; </sect3> <sect3 id="package.html.html-quickform.elements.standard"> - <title>Eléments HTML standards</title> -&package.html.html-quickform.html-quickform-button; -&package.html.html-quickform.html-quickform-button.html-quickform-button; - -&package.html.html-quickform.html-quickform-checkbox; -&package.html.html-quickform.html-quickform-checkbox.html-quickform-checkbox; -&package.html.html-quickform.html-quickform-checkbox.getchecked; -&package.html.html-quickform.html-quickform-checkbox.gettext; -&package.html.html-quickform.html-quickform-checkbox.setchecked; -&package.html.html-quickform.html-quickform-checkbox.settext; - -&package.html.html-quickform.html-quickform-file; -&package.html.html-quickform.html-quickform-file.html-quickform-file; -&package.html.html-quickform.html-quickform-file.getsize; -&package.html.html-quickform.html-quickform-file.getvalue; -&package.html.html-quickform.html-quickform-file.isuploadedfile; -&package.html.html-quickform.html-quickform-file.moveuploadedfile; -&package.html.html-quickform.html-quickform-file.setsize; - -&package.html.html-quickform.html-quickform-hidden; -&package.html.html-quickform.html-quickform-hidden.html-quickform-hidden; - -&package.html.html-quickform.html-quickform-image; -&package.html.html-quickform.html-quickform-image.html-quickform-image; -&package.html.html-quickform.html-quickform-image.setalign; -&package.html.html-quickform.html-quickform-image.setborder; -&package.html.html-quickform.html-quickform-image.setsource; - -&package.html.html-quickform.html-quickform-password; -&package.html.html-quickform.html-quickform-password.html-quickform-password; -&package.html.html-quickform.html-quickform-password.setmaxlength; -&package.html.html-quickform.html-quickform-password.setsize; - -&package.html.html-quickform.html-quickform-radio; -&package.html.html-quickform.html-quickform-radio.html-quickform-radio; -&package.html.html-quickform.html-quickform-radio.getchecked; -&package.html.html-quickform.html-quickform-radio.gettext; -&package.html.html-quickform.html-quickform-radio.setchecked; -&package.html.html-quickform.html-quickform-radio.settext; - -&package.html.html-quickform.html-quickform-reset; -&package.html.html-quickform.html-quickform-reset.html-quickform-reset; - -&package.html.html-quickform.html-quickform-select; -&package.html.html-quickform.html-quickform-select.html-quickform-select; -&package.html.html-quickform.html-quickform-select.addoption; -&package.html.html-quickform.html-quickform-select.getmultiple; -&package.html.html-quickform.html-quickform-select.getprivatename; -&package.html.html-quickform.html-quickform-select.getselected; -&package.html.html-quickform.html-quickform-select.getsize; -&package.html.html-quickform.html-quickform-select.load; -&package.html.html-quickform.html-quickform-select.loadarray; -&package.html.html-quickform.html-quickform-select.loaddbresult; -&package.html.html-quickform.html-quickform-select.loadquery; -&package.html.html-quickform.html-quickform-select.setmultiple; -&package.html.html-quickform.html-quickform-select.setselected; -&package.html.html-quickform.html-quickform-select.setsize; - -&package.html.html-quickform.html-quickform-submit; -&package.html.html-quickform.html-quickform-submit.html-quickform-submit; - -&package.html.html-quickform.html-quickform-text; -&package.html.html-quickform.html-quickform-text.html-quickform-text; -&package.html.html-quickform.html-quickform-text.setmaxlength; -&package.html.html-quickform.html-quickform-text.setsize; - -&package.html.html-quickform.html-quickform-textarea; -&package.html.html-quickform.html-quickform-textarea.html-quickform-textarea; -&package.html.html-quickform.html-quickform-textarea.setcols; -&package.html.html-quickform.html-quickform-textarea.setrows; -&package.html.html-quickform.html-quickform-textarea.setwrap; - -&package.html.html-quickform.html-quickform-xbutton; -&package.html.html-quickform.html-quickform-xbutton.html-quickform-xbutton; -&package.html.html-quickform.html-quickform-xbutton.setcontent; + <title>Eléments HTML standards</title> + &package.html.html-quickform.html-quickform-button; + &package.html.html-quickform.html-quickform-button.html-quickform-button; + &package.html.html-quickform.html-quickform-checkbox; + &package.html.html-quickform.html-quickform-checkbox.html-quickform-checkbox; + &package.html.html-quickform.html-quickform-checkbox.getchecked; + &package.html.html-quickform.html-quickform-checkbox.gettext; + &package.html.html-quickform.html-quickform-checkbox.setchecked; + &package.html.html-quickform.html-quickform-checkbox.settext; + &package.html.html-quickform.html-quickform-file; + &package.html.html-quickform.html-quickform-file.html-quickform-file; + &package.html.html-quickform.html-quickform-file.getsize; + &package.html.html-quickform.html-quickform-file.getvalue; + &package.html.html-quickform.html-quickform-file.isuploadedfile; + &package.html.html-quickform.html-quickform-file.moveuploadedfile; + &package.html.html-quickform.html-quickform-file.setsize; + &package.html.html-quickform.html-quickform-hidden; + &package.html.html-quickform.html-quickform-hidden.html-quickform-hidden; + &package.html.html-quickform.html-quickform-image; + &package.html.html-quickform.html-quickform-image.html-quickform-image; + &package.html.html-quickform.html-quickform-image.setalign; + &package.html.html-quickform.html-quickform-image.setborder; + &package.html.html-quickform.html-quickform-image.setsource; + &package.html.html-quickform.html-quickform-password; + &package.html.html-quickform.html-quickform-password.html-quickform-password; + &package.html.html-quickform.html-quickform-password.setmaxlength; + &package.html.html-quickform.html-quickform-password.setsize; + &package.html.html-quickform.html-quickform-radio; + &package.html.html-quickform.html-quickform-radio.html-quickform-radio; + &package.html.html-quickform.html-quickform-radio.getchecked; + &package.html.html-quickform.html-quickform-radio.gettext; + &package.html.html-quickform.html-quickform-radio.setchecked; + &package.html.html-quickform.html-quickform-radio.settext; + &package.html.html-quickform.html-quickform-reset; + &package.html.html-quickform.html-quickform-reset.html-quickform-reset; + &package.html.html-quickform.html-quickform-select; + &package.html.html-quickform.html-quickform-select.html-quickform-select; + &package.html.html-quickform.html-quickform-select.addoption; + &package.html.html-quickform.html-quickform-select.getmultiple; + &package.html.html-quickform.html-quickform-select.getprivatename; + &package.html.html-quickform.html-quickform-select.getselected; + &package.html.html-quickform.html-quickform-select.getsize; + &package.html.html-quickform.html-quickform-select.load; + &package.html.html-quickform.html-quickform-select.loadarray; + &package.html.html-quickform.html-quickform-select.loaddbresult; + &package.html.html-quickform.html-quickform-select.loadquery; + &package.html.html-quickform.html-quickform-select.setmultiple; + &package.html.html-quickform.html-quickform-select.setselected; + &package.html.html-quickform.html-quickform-select.setsize; + &package.html.html-quickform.html-quickform-submit; + &package.html.html-quickform.html-quickform-submit.html-quickform-submit; + &package.html.html-quickform.html-quickform-text; + &package.html.html-quickform.html-quickform-text.html-quickform-text; + &package.html.html-quickform.html-quickform-text.setmaxlength; + &package.html.html-quickform.html-quickform-text.setsize; + &package.html.html-quickform.html-quickform-textarea; + &package.html.html-quickform.html-quickform-textarea.html-quickform-textarea; + &package.html.html-quickform.html-quickform-textarea.setcols; + &package.html.html-quickform.html-quickform-textarea.setrows; + &package.html.html-quickform.html-quickform-textarea.setwrap; + &package.html.html-quickform.html-quickform-xbutton; + &package.html.html-quickform.html-quickform-xbutton.html-quickform-xbutton; + &package.html.html-quickform.html-quickform-xbutton.setcontent; </sect3> + <sect3 id="package.html.html-quickform.elements.custom"> - <title>Eléments personalisables</title> -&package.html.html-quickform.html-quickform-advcheckbox; -&package.html.html-quickform.html-quickform-advcheckbox.html-quickform-advcheckbox; -&package.html.html-quickform.html-quickform-advcheckbox.getonclickjs; -&package.html.html-quickform.html-quickform-advcheckbox.getprivatename; -&package.html.html-quickform.html-quickform-advcheckbox.setvalues; - -&package.html.html-quickform.html-quickform-autocomplete; -&package.html.html-quickform.html-quickform-autocomplete.html-quickform-autocomplete; -&package.html.html-quickform.html-quickform-autocomplete.setoptions; - -&package.html.html-quickform.html-quickform-date; -&package.html.html-quickform.html-quickform-date.html-quickform-date; - -&package.html.html-quickform.html-quickform-header; -&package.html.html-quickform.html-quickform-header.html-quickform-header; - -&package.html.html-quickform.html-quickform-hiddenselect; -&package.html.html-quickform.html-quickform-hiddenselect.html-quickform-hiddenselect; - -&package.html.html-quickform.html-quickform-hierselect; -&package.html.html-quickform.html-quickform-hierselect.html-quickform-hierselect; -&package.html.html-quickform.html-quickform-hierselect.setoptions; -&package.html.html-quickform.html-quickform-hierselect.setmainoptions; -&package.html.html-quickform.html-quickform-hierselect.setsecoptions; - -&package.html.html-quickform.html-quickform-html; -&package.html.html-quickform.html-quickform-html.html-quickform-html; - -&package.html.html-quickform.html-quickform-link; -&package.html.html-quickform.html-quickform-link.html-quickform-link; -&package.html.html-quickform.html-quickform-link.sethref; - -&package.html.html-quickform.html-quickform-static; -&package.html.html-quickform.html-quickform-static.html-quickform-static; -&package.html.html-quickform.html-quickform-static.settext; + <title>Eléments personalisables</title> + &package.html.html-quickform.html-quickform-advcheckbox; + &package.html.html-quickform.html-quickform-advcheckbox.html-quickform-advcheckbox; + &package.html.html-quickform.html-quickform-advcheckbox.getonclickjs; + &package.html.html-quickform.html-quickform-advcheckbox.getprivatename; + &package.html.html-quickform.html-quickform-advcheckbox.setvalues; + &package.html.html-quickform.html-quickform-autocomplete; + &package.html.html-quickform.html-quickform-autocomplete.html-quickform-autocomplete; + &package.html.html-quickform.html-quickform-autocomplete.setoptions; + &package.html.html-quickform.html-quickform-date; + &package.html.html-quickform.html-quickform-date.html-quickform-date; + &package.html.html-quickform.html-quickform-header; + &package.html.html-quickform.html-quickform-header.html-quickform-header; + &package.html.html-quickform.html-quickform-hiddenselect; + &package.html.html-quickform.html-quickform-hiddenselect.html-quickform-hiddenselect; + &package.html.html-quickform.html-quickform-hierselect; + &package.html.html-quickform.html-quickform-hierselect.html-quickform-hierselect; + &package.html.html-quickform.html-quickform-hierselect.setoptions; + &package.html.html-quickform.html-quickform-hierselect.setmainoptions; + &package.html.html-quickform.html-quickform-hierselect.setsecoptions; + &package.html.html-quickform.html-quickform-html; + &package.html.html-quickform.html-quickform-html.html-quickform-html; + &package.html.html-quickform.html-quickform-link; + &package.html.html-quickform.html-quickform-link.html-quickform-link; + &package.html.html-quickform.html-quickform-link.sethref; + &package.html.html-quickform.html-quickform-static; + &package.html.html-quickform.html-quickform-static.html-quickform-static; + &package.html.html-quickform.html-quickform-static.settext; </sect3> - - - </sect2> + </sect2> <sect2 id="package.html.html-quickform.groups"> <title>Utiliser les groupes</title> <para> -A écrire. + A écrire. </para> -&package.html.html-quickform.html-quickform.addgroup; -&package.html.html-quickform.html-quickform-group; -&package.html.html-quickform.html-quickform-group.html-quickform-group; -&package.html.html-quickform.html-quickform-group.getelementname; -&package.html.html-quickform.html-quickform-group.getelements; -&package.html.html-quickform.html-quickform-group.getgrouptype; -&package.html.html-quickform.html-quickform-group.setelements; + &package.html.html-quickform.html-quickform.addgroup; + &package.html.html-quickform.html-quickform-group; + &package.html.html-quickform.html-quickform-group.html-quickform-group; + &package.html.html-quickform.html-quickform-group.getelementname; + &package.html.html-quickform.html-quickform-group.getelements; + &package.html.html-quickform.html-quickform-group.getgrouptype; + &package.html.html-quickform.html-quickform-group.setelements; </sect2> <sect2 id="package.html.html-quickform.values"> - <title>Travailler avec les valeurs des éléments</title> + <title>Travailler avec les valeurs des éléments</title> <para> - Cette section couvre les méthodes offertes par QuickForm pour gérer les valeurs des éléments des formulaires et travailler avec les valeurs soumises. + Cette section couvre les méthodes offertes par QuickForm pour gérer les + valeurs des éléments des formulaires et travailler avec les valeurs soumises. </para> <sect3 id="package.html.html-quickform.values.getting-setting"> - <title>Getting, setting and processing element values</title> -&package.html.html-quickform.html-quickform.setconstants; -&package.html.html-quickform.html-quickform.setdefaults; -&package.html.html-quickform.html-quickform.exportvalue; -&package.html.html-quickform.html-quickform.exportvalues; -&package.html.html-quickform.html-quickform.getelementvalue; -&package.html.html-quickform.html-quickform.getsubmitvalue; -&package.html.html-quickform.html-quickform.getsubmitvalues; -&package.html.html-quickform.html-quickform.process; + <title>Getting, setting and processing element values</title> + &package.html.html-quickform.html-quickform.setconstants; + &package.html.html-quickform.html-quickform.setdefaults; + &package.html.html-quickform.html-quickform.exportvalue; + &package.html.html-quickform.html-quickform.exportvalues; + &package.html.html-quickform.html-quickform.getelementvalue; + &package.html.html-quickform.html-quickform.getsubmitvalue; + &package.html.html-quickform.html-quickform.getsubmitvalues; + &package.html.html-quickform.html-quickform.process; </sect3> <sect3 id="package.html.html-quickform.values.validation"> - <title>Validation and filtres</title> - <para> -QuickForm fournit également des règles pour le support de la validation. Vous pouvez programmer vos propres règles de validation, les enregister dans QuickForm et ensuite les appeler dans votre script. Par défaut, QuickForm peut manipuler les expressions rationnelles (du type d'<ulink url="&url.php.lookup;preg-match">preg_match</ulink>) et vérifier les éléments requis. Si vous souhaitez une validation du côté client, QuickForm peut générer le code Javascript requis. La validation côté serveur est toujours activée par défaut. - </para> - <para> -QuickForm peut égalment utiliser des filtres pour importer des données dans le formulaire ou pour traiter les données une fois que le formulaire a été envoyé. Les filtres fonctionnent de la même façon que les filtres à part que l'on a pas besoin de les enregistrer. Vous pouvez écrire vos propres fonctions filtres ou les appeler dans votre script. Vous pouvez appeler n'importe quelle fonction php (par ex. trim, addslashes, htmlentities, etc.) et les appliquer de façon récursive à la valeur de vos éléments. - </para> -&package.html.html-quickform.intro-validation; -&package.html.html-quickform.html-quickform.addrule; -&package.html.html-quickform.html-quickform.addgrouprule; -&package.html.html-quickform.html-quickform.addformrule; -&package.html.html-quickform.html-quickform.iselementrequired; -&package.html.html-quickform.html-quickform.validate; -&package.html.html-quickform.html-quickform.getelementerror; -&package.html.html-quickform.html-quickform.setelementerror; - -&package.html.html-quickform.html-quickform.registerrule; -&package.html.html-quickform.html-quickform.getregisteredrules; -&package.html.html-quickform.html-quickform.isruleregistered; - -&package.html.html-quickform.html-quickform.applyfilter; + <title>Validation and filtres</title> + <para> + QuickForm fournit également des règles pour le support de la validation. + Vous pouvez programmer vos propres règles de validation, les enregister + dans QuickForm et ensuite les appeler dans votre script. Par défaut, QuickForm + peut manipuler les expressions rationnelles (du type + d'<ulink url="&url.php.lookup;preg-match">preg_match</ulink>) et vérifier + les éléments requis. Si vous souhaitez une validation du côté client, QuickForm + peut générer le code Javascript requis. La validation côté serveur est toujours + activée par défaut. + </para> + <para> + QuickForm peut égalment utiliser des filtres pour importer des données dans le + formulaire ou pour traiter les données une fois que le formulaire a été envoyé. + Les filtres fonctionnent de la même façon que les filtres à part que l'on a + pas besoin de les enregistrer. Vous pouvez écrire vos propres fonctions filtres ou + les appeler dans votre script. Vous pouvez appeler n'importe quelle fonction php + (par ex. trim, addslashes, htmlentities, etc.) et les appliquer de façon récursive à + la valeur de vos éléments. + </para> + &package.html.html-quickform.intro-validation; + &package.html.html-quickform.html-quickform.addrule; + &package.html.html-quickform.html-quickform.addgrouprule; + &package.html.html-quickform.html-quickform.addformrule; + &package.html.html-quickform.html-quickform.iselementrequired; + &package.html.html-quickform.html-quickform.validate; + &package.html.html-quickform.html-quickform.getelementerror; + &package.html.html-quickform.html-quickform.setelementerror; + &package.html.html-quickform.html-quickform.registerrule; + &package.html.html-quickform.html-quickform.getregisteredrules; + &package.html.html-quickform.html-quickform.isruleregistered; + &package.html.html-quickform.html-quickform.applyfilter; </sect3> </sect2> <sect2 id="package.html.html-quickform.output"> <title>Outputting the form</title> <para> -Votre formulaire peut être personnalisé de nombreuses façons. -QuickForm peut utiliser différents types de moteurs de rendu et en fourni un par défaut qui support la personnalisation -du formulaire, des éléments, des messages d'erreur, des en-têtes, des notes et signes des éléments requis. -Vous pouvez également écrires vos propres moteurs de rendu. + Votre formulaire peut être personnalisé de nombreuses façons. + QuickForm peut utiliser différents types de moteurs de rendu et en fourni un par + défaut qui support la personnalisation du formulaire, des éléments, des messages + d'erreur, des en-têtes, des notes et signes des éléments requis. + Vous pouvez également écrires vos propres moteurs de rendu. </para> <sect3 id="package.html.html-quickform.output.form-customization"> <title>Form customization and output helpers</title> -&package.html.html-quickform.html-quickform.freeze; -&package.html.html-quickform.html-quickform.iselementfrozen; -&package.html.html-quickform.html-quickform.isfrozen; - -&package.html.html-quickform.html-quickform.setrequirednote; -&package.html.html-quickform.html-quickform.setjswarnings; -&package.html.html-quickform.html-quickform.getrequirednote; -&package.html.html-quickform.html-quickform.getvalidationscript; - -&package.html.html-quickform.html-quickform.accept; -&package.html.html-quickform.html-quickform.defaultrenderer; -&package.html.html-quickform.html-quickform.toarray; -&package.html.html-quickform.html-quickform.tohtml; -&package.html.html-quickform.html-quickform.display; - + &package.html.html-quickform.html-quickform.freeze; + &package.html.html-quickform.html-quickform.iselementfrozen; + &package.html.html-quickform.html-quickform.isfrozen; + &package.html.html-quickform.html-quickform.setrequirednote; + &package.html.html-quickform.html-quickform.setjswarnings; + &package.html.html-quickform.html-quickform.getrequirednote; + &package.html.html-quickform.html-quickform.getvalidationscript; + &package.html.html-quickform.html-quickform.accept; + &package.html.html-quickform.html-quickform.defaultrenderer; + &package.html.html-quickform.html-quickform.toarray; + &package.html.html-quickform.html-quickform.tohtml; + &package.html.html-quickform.html-quickform.display; </sect3> <sect3 id="package.html.html-quickform.output.basic-renderers"> <title>Moteurs de rendu simples</title> - <para>Ces moteurs sont fondé sur le code de <classname>HTML_QuickForm</classname> pre-3.0 et ne nécessite aucune classe externe pour fonctionner.</para> -&package.html.html-quickform.intro-renderers; -&package.html.html-quickform.html-quickform-renderer-default; -&package.html.html-quickform.html-quickform-renderer-default.clearalltemplates; -&package.html.html-quickform.html-quickform-renderer-default.setelementtemplate; -&package.html.html-quickform.html-quickform-renderer-default.setformtemplate; -&package.html.html-quickform.html-quickform-renderer-default.setgroupelementtemplate; -&package.html.html-quickform.html-quickform-renderer-default.setgrouptemplate; -&package.html.html-quickform.html-quickform-renderer-default.setheadertemplate; -&package.html.html-quickform.html-quickform-renderer-default.setrequirednotetemplate; -&package.html.html-quickform.html-quickform-renderer-default.tohtml; - -&package.html.html-quickform.html-quickform-renderer-array; -&package.html.html-quickform.html-quickform-renderer-array.html-quickform-renderer-array; -&package.html.html-quickform.html-quickform-renderer-array.setelementstyle; -&package.html.html-quickform.html-quickform-renderer-array.toarray; + <para> + Ces moteurs sont fondé sur le code de <classname>HTML_QuickForm</classname> + pre-3.0 et ne nécessite aucune classe externe pour fonctionner. + </para> + &package.html.html-quickform.intro-renderers; + &package.html.html-quickform.html-quickform-renderer-default; + &package.html.html-quickform.html-quickform-renderer-default.clearalltemplates; + &package.html.html-quickform.html-quickform-renderer-default.setelementtemplate; + &package.html.html-quickform.html-quickform-renderer-default.setformtemplate; + &package.html.html-quickform.html-quickform-renderer-default.setgroupelementtemplate; + &package.html.html-quickform.html-quickform-renderer-default.setgrouptemplate; + &package.html.html-quickform.html-quickform-renderer-default.setheadertemplate; + &package.html.html-quickform.html-quickform-renderer-default.setrequirednotetemplate; + &package.html.html-quickform.html-quickform-renderer-default.tohtml; + &package.html.html-quickform.html-quickform-renderer-array; + &package.html.html-quickform.html-quickform-renderer-array.html-quickform-renderer-array; + &package.html.html-quickform.html-quickform-renderer-array.setelementstyle; + &package.html.html-quickform.html-quickform-renderer-array.toarray; </sect3> - + <sect3 id="package.html.html-quickform.output.template-renderers"> - <title>Moteurs de rendu fondé sur les templates</title> - <para>Ces moteurs de rendu utilisent des gestionnaires de templates pour générer réellement leur formulaire HTML.</para> -&package.html.html-quickform.html-quickform-renderer-arraysmarty; -&package.html.html-quickform.html-quickform-renderer-arraysmarty.html-quickform-renderer-arraysmarty; -&package.html.html-quickform.html-quickform-renderer-arraysmarty.seterrortemplate; -&package.html.html-quickform.html-quickform-renderer-arraysmarty.setrequiredtemplate; - -&package.html.html-quickform.html-quickform-renderer-itdynamic; -&package.html.html-quickform.html-quickform-renderer-itdynamic.html-quickform-renderer-itdynamic; -&package.html.html-quickform.html-quickform-renderer-itdynamic.setelementblock; -&package.html.html-quickform.html-quickform-renderer-itdynamic.setheaderblock; - -&package.html.html-quickform.html-quickform-renderer-itstatic; -&package.html.html-quickform.html-quickform-renderer-itstatic.html-quickform-renderer-itstatic; -&package.html.html-quickform.html-quickform-renderer-itstatic.seterrortemplate; -&package.html.html-quickform.html-quickform-renderer-itstatic.setrequiredtemplate; - -&package.html.html-quickform.html-quickform-renderer-quickhtml; -&package.html.html-quickform.html-quickform-renderer-quickhtml.html-quickform-renderer-quickhtml; -&package.html.html-quickform.html-quickform-renderer-quickhtml.tohtml; -&package.html.html-quickform.html-quickform-renderer-quickhtml.elementtohtml; + <title>Moteurs de rendu fondé sur les templates</title> + <para> + Ces moteurs de rendu utilisent des gestionnaires de templates pour générer réellement leur formulaire HTML. + </para> + &package.html.html-quickform.html-quickform-renderer-arraysmarty; + &package.html.html-quickform.html-quickform-renderer-arraysmarty.html-quickform-renderer-arraysmarty; + &package.html.html-quickform.html-quickform-renderer-arraysmarty.seterrortemplate; + &package.html.html-quickform.html-quickform-renderer-arraysmarty.setrequiredtemplate; + &package.html.html-quickform.html-quickform-renderer-itdynamic; + &package.html.html-quickform.html-quickform-renderer-itdynamic.html-quickform-renderer-itdynamic; + &package.html.html-quickform.html-quickform-renderer-itdynamic.setelementblock; + &package.html.html-quickform.html-quickform-renderer-itdynamic.setheaderblock; + &package.html.html-quickform.html-quickform-renderer-itstatic; + &package.html.html-quickform.html-quickform-renderer-itstatic.html-quickform-renderer-itstatic; + &package.html.html-quickform.html-quickform-renderer-itstatic.seterrortemplate; + &package.html.html-quickform.html-quickform-renderer-itstatic.setrequiredtemplate; + &package.html.html-quickform.html-quickform-renderer-quickhtml; + &package.html.html-quickform.html-quickform-renderer-quickhtml.html-quickform-renderer-quickhtml; + &package.html.html-quickform.html-quickform-renderer-quickhtml.tohtml; + &package.html.html-quickform.html-quickform-renderer-quickhtml.elementtohtml; </sect3> - + <sect3 id="package.html.html-quickform.output.renderer-doc"> <title>Intrastructure du moteur de rendu</title> - <para>Si vous voulez modifier un moteur de rendu existant ou en écrire un nouveau, cette section vous concerne.</para> -&package.html.html-quickform.html-quickform-renderer; -&package.html.html-quickform.html-quickform-renderer.startform; -&package.html.html-quickform.html-quickform-renderer.finishform; -&package.html.html-quickform.html-quickform-renderer.startgroup; -&package.html.html-quickform.html-quickform-renderer.finishgroup; -&package.html.html-quickform.html-quickform-renderer.renderelement; -&package.html.html-quickform.html-quickform-renderer.renderheader; -&package.html.html-quickform.html-quickform-renderer.renderhidden; -&package.html.html-quickform.html-quickform-renderer.renderhtml; + <para> + Si vous voulez modifier un moteur de rendu existant ou en écrire un nouveau, + cette section vous concerne. + </para> + &package.html.html-quickform.html-quickform-renderer; + &package.html.html-quickform.html-quickform-renderer.startform; + &package.html.html-quickform.html-quickform-renderer.finishform; + &package.html.html-quickform.html-quickform-renderer.startgroup; + &package.html.html-quickform.html-quickform-renderer.finishgroup; + &package.html.html-quickform.html-quickform-renderer.renderelement; + &package.html.html-quickform.html-quickform-renderer.renderheader; + &package.html.html-quickform.html-quickform-renderer.renderhidden; + &package.html.html-quickform.html-quickform-renderer.renderhtml; </sect3> </sect2> </sect1> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -370,4 +365,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file