cvs: peardoc /fr/package/fileformats/file-passwd/file-passwd-custom adduser.xml changepasswd.xml file-passwd-custom.xml getdelim.xml getencfunc.xml
getmap.xml moduser.xml parse.xml save.xml setdelim.xml setencfunc.xml setmap.xml staticauth.xml usemap.xml verifypasswd.xml
| From: | Yannick TORRES | Date: | Thu, 29 Jul 2004 09:40:37 +0000 |
| Subject: | cvs: peardoc /fr/package/fileformats/file-passwd/file-passwd-custom adduser.xml changepasswd.xml file-passwd-custom.xml getdelim.xml getencfunc.xml getmap.xml moduser.xml parse.xml save.xml setdelim.xml setencfunc.xml setmap.xml staticauth.xml usemap.xml verifypasswd.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4684@lists.php.net to get a copy of this message | ||
yannick Thu Jul 29 05:40:37 2004 EDT
Added files:
/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom
adduser.xml
changepasswd.xml
file-passwd-custom.xml
getdelim.xml
getencfunc.xml
getmap.xml
moduser.xml
parse.xml
save.xml
setdelim.xml
setencfunc.xml
setmap.xml
staticauth.xml
usemap.xml
verifypasswd.xml
Log:
initial translation
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/adduser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/adduser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/adduser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.adduser"> <refnamediv> <refname><function>File_Passwd_Custom::addUser</function></refname> <refpurpose>Ajoute un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::addUser</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> <paramdef>array <parameter><optional>$extra = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.adduser.desc"> &title.desc; <para> Le nom de l'utilisateur doit commencer par un caractère alphanumérique et ne doit PAS contenir d'autres caractères que des caractères alphanumériques, un underline (_) et le tiret (-). </para> <para> Le nom de l'utilisateur ne DOIT PAS contenir le délimiteur personnalisé ! </para> <para> Si vous utilisez la 'carte de nom', vous devez également utiliser ce nommage dans le tableau fourni, car vos valeurs seront mélangées vers le haut si elles sont dans le mauvais ordre, ce qui est également vrai si vous n'utilisez PAS la carte de nom ! </para> <para>Donc, soyez prudent et utilisez la carte de nom !</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.adduser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> le nom de l'utilisateur à ajouter </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe de l'utilisateur à ajouter </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$extra</parameter> </term> <listitem> <para> propriétés supplémentaires de l'utilisateur à ajouter </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.adduser.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_ALREADY_EXISTS</entry> <entry>l'utilisateur existe déjà</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>le nom de l'utlisateur contient des caractères invalides</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>une des propriétés supplémentaires contient le délimiteur</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry> <entry>le mode de cryptage actuel n'est pas supporté</entry> </row> <row> <entry>FILE_PASSWD_E_UNDEFINED</entry> <entry>si le fichier passwd n'est pas défini</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.adduser.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/changepasswd.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/changepasswd.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/changepasswd.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.changepasswd"> <refnamediv> <refname><function>File_Passwd_Custom::changePasswd</function></refname> <refpurpose>Modifie le mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::changePasswd</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.changepasswd.desc"> &title.desc; <para>Modifie le mot de passe de l'utilisateur spécifié.</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.changepasswd.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur dont on doit modifier le mot de passe </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le nouveau mot de passe en clair </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.changepasswd.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>l'utilisateur n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_INVALID_ENC_MODE</entry> <entry>le mode de cryptage actuel n'est pas supporté</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.changepasswd.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/file-passwd-custom.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/file-passwd-custom.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/file-passwd-custom.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom"> <refnamediv> <refname><function>File_Passwd_Custom::File_Passwd_Custom</function></refname> <refpurpose>Constructeur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once 'File/Passwd/Custom.php';</funcsynopsisinfo> <funcprototype> <funcdef>object &new <function>File_Passwd_custom</function></funcdef> <paramdef>string <parameter><optional>$file = 'passwd'</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom.desc"> &title.desc; <para> Initialise le nouvel objet File_Passwd_Custom avec le chemin spécifié vers le fichier passwd. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> chemin vers le fichier passwd </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom.return"> &title.returns; <para> Retourne un &type.object; <classname>File_Passwd_Custom</classname>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getdelim.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getdelim.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getdelim.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.filsystem.file-passwd.file-passwd-custom.getdelim"> <refnamediv> <refname><function>File_Passwd_Custom::getdelim</function></refname> <refpurpuse>Récupère le délimiteur</refpurpuse> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void <function>File_Passwd_Common::getdelim</function></funcdef> <paramdef/> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filsystem.file-passwd.file-passwd-custom.getdelim.desc"> &title.desc; <para> Récpère le caractère délimiteur personalisé. </para> </refsect1> <refsect1 id="package.filsystem.file-passwd.file-passwd-custom.getdelim.return"> &title.returns; <para> Retourne le caractère délimiteur personnalisé sous la forme d'une chaîne de caractères. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getdelim.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getencfunc.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getencfunc.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getencfunc.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.getencfunc"> <refnamediv> <refname><function>File_Passwd_Custom::getEncFunc</function></refname> <refpurpose>Récupère la fonction de cryptage actuelle</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>string <function>File_Passwd_Custom::getEncFunc</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getencfunc.desc"> &title.desc; <para> Récupère la fonction de cryptage actuelle. </para> <para> Si la fonction de cryptage est défini en tant que tableau, e.g. array('File_Passwd', 'crypt_md5'), quelque chose de comparable à 'File_Passwd::crypt_md5' sera retourné. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getencfunc.return"> &title.returns; <para> Retourne la fonction de cryptage actuelle sous la forme d'une chaîne de caractères. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getencfunc.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getmap.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getmap.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getmap.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.getmap"> <refnamediv> <refname><function>File_Passwd_Custom::getMap</function></refname> <refpurpose>Récupère la carte de nom</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>array <function>File_Passwd_Custom::getMap</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getmap.desc"> &title.desc; <para> Récupère la carte de nom qui sera utilisé pour les propriétés supplémentaires pour cet utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getmap.return"> &title.returns; <para> Retourne la carte de nom sous la forme d'un tableau. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getmap.see"> &title.see; <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.setmap"> <function>File_Passwd_Custom::setMap</function> </link> </para> <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.usemap"> <function>File_Passwd_Custom::useMap</function> </link> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getmap.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/moduser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/moduser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/moduser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.moduser"> <refnamediv> <refname><function>File_Passwd_Custom::modUser</function></refname> <refpurpose>Midifie un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::modUser</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>array <parameter><optional>$properties = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.desc"> &title.desc; <para> Vousne devriezpas modifier le mot de passe de l'utilisateur avec cete méthode, utilisez plutôt <link linkend="package.fileformats.file-passwd.file-passwd-custom.changepasswd"> <function>File_Passwd_Custom::changePasswd</function> </link> à la place. </para> <para> Vous devriez utiliser cette méthode uniquement si la carte de nom est également utilisée. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à modifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$properties</parameter> </term> <listitem> <para> un tableau associatif de propriétés à modifier </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>l'utilisateur n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>une des propriétés supplémentaires contient un caractère invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.see"> &title.see; <para> See <link linkend="package.fileformats.file-passwd.file-passwd-custom.usemap"> <function>File_Passwd_Custom::useMap</function> </link> </para> <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.changepasswd"> <function>File_Passwd_Custom::changePasswd</function> </link> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/parse.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/parse.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/parse.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.parse"> <refnamediv> <refname><function>File_Passwd_Custom::parse</function></refname> <refpurpose>Analyse un fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::parse</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.parse.desc"> &title.desc; <para> Analyse un fichier passwd personnalisé. &pdevrel; </para> <para> Celà intervient habituellement dans <link linkend="package.fileformats.file-passwd.file-passwd-common.load"> <function>File_Passwd_Custom::load</function> </link>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.parse.return"> &title.returns; <para> &return.success-pearerror; </para> <para> Retourne <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_INVALID_FORMAT</constant>, si le fichier passwd a un format invalide. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.parse.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/save.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/save.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/save.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.save"> <refnamediv> <refname><function>File_Passwd_Custom::save</function></refname> <refpurpose>Sauvegarde les modifications</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::save</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.save.desc"> &title.desc; <para> Applique les modifications et réécrit le fichier passwd. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.save.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_DIR_NOT_CREATED</entry> <entry>le dossier dans lequel le fichier passwd doit appartenir n'a pu être créé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le ficiher passwd n'a pu être ouvert en écriture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé exclusivement</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu être déverrouillé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.save.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setdelim.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setdelim.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setdelim.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.filsystem.file-passwd.file-passwd-custom.setdelim"> <refnamediv> <refname><function>File_Passwd_Custom::setDelim</function></refname> <refpurpuse>Définie un délimiteur</refpurpuse> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void <function>File_Passwd_Common::setDelim</function></funcdef> <paramdef>string <parameter>$delim</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filsystem.file-passwd.file-passwd-custom.setdelim.desc"> &title.desc; <para> Définie un caractère délimiteur personnalisé. </para> </refsect1> <refsect1 id="package.filsystem.file-passwd.file-passwd-custom.setdelim.param"> &title.param; <para> <variablelist> <valistentry> <term> &type.string; <parameter>$delim</parameter> </term> <listitem> <para> le caractère délimiteur personnalisé </para> </listitem> </valistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setdelim.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setencfunc.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setencfunc.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setencfunc.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.setencfunc"> <refnamediv> <refname><function>File_Passwd_Custom::setEncFunc</function></refname> <refpurpose>Définie la fonction de cryptage</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::setEncFunc</function></funcdef> <paramdef>mixed <parameter>$function</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setencfunc.desc"> &title.desc; <para> Définie la fonction de cryptage à utiliser. </para> <para> Vous pouvez définir une fonction de cryptage personnalisé par une chaîne de caractères représentant une fonction unique ou par un tableau référençant une méthode objet/classe. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setencfunc.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <parameter>$function</parameter> </term> <listitem> <para> fonction de cryptage à utiliser (&type.string; ou &type.array;) </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setencfunc.return"> &title.returns; <para> &return.success-pearerror; </para> <para> Retourne <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_INVALID_ENC_MODE</constant> si la fonction demandée n'a pu être appelée. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setencfunc.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setmap.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setmap.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setmap.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.setmap"> <refnamediv> <refname><function>File_Passwd_Custom::setMap</function></refname> <refpurpose>Définie une carte de nom</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::setMap</function></funcdef> <paramdef>mixed <parameter><optional>$map = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.desc"> &title.desc; <para>Définie la carte de nom à utiliser avec les propriétés supplémentaires de l'utilisateur.</para> <para>Cette carte est utilisé pour nommer le tableau associatif contenant les propriétés supplémentaires.</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.array; <parameter>$map</parameter> </term> <listitem> <para> la carte de nom </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.return"> &title.returns; <para> &return.success-pearerror; </para> <para> Retourne <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_PARAM_MUST_BE_ARRAY</constant>, si la carte de nom n'est pas un tableau. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.see"> &title.see; <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.usemap"> <function>File_Passwd_Custom::useMap</function> </link> </para> <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.getmap"> <function>File_Passwd_Custom::getMap</function> </link> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/staticauth.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/staticauth.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/staticauth.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.staticauth"> <refnamediv> <refname><function>File_Passwd_Custom::staticAuth</function></refname> <refpurpose>Identification rapide</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/Passwd/Custom.php'; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::staticAuth</function></funcdef> <paramdef>string <parameter>$file</parameter></paramdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> <paramdef>array <parameter>$opts</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.staticauth.desc"> &title.desc; <para> Identification statique d'un utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.staticauth.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> chemin vers le fichier passwd </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> utilisateur à identifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> mot de passe en clair </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$opts</parameter> </term> <listitem> <para> Un tableau à deux éléments contenant la fonction de cryptage à utiliser ainsi que le caractère délimiteur : e.g. array('md5', '|') </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.staticauth.return"> &title.returns; <para> Retourne &true; si l'identification a réussi, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'échec. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_NOT_EXISTS</entry> <entry>le fichier passwd n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le fichier passwd n'a pu être ouvert en lecture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu être déverrouillé (uniquement si l'identification échoue)</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé (uniquement si l'identification échoue)</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.staticauth.note"> &title.note; ¬e.shouldstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/usemap.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/usemap.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/usemap.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.usemap"> <refnamediv> <refname><function>File_Passwd_Custom::useMap</function></refname> <refpurpose>Utilise ou non la carte de nom</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>boolean <function>File_Passwd_Custom::useMap</function></funcdef> <paramdef>boolean <parameter> <optional>$bool = null</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.desc"> &title.desc; <para> Utilise ou non la carte de nom des propriétés supplémentaires. </para> <para> Vous devez spécifier une carte de nom à utiliser. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.bool; <parameter>$bool</parameter> </term> <listitem> <para> utilise ou non la carte de nom </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.return"> &title.returns; <para> Retourne un booléen &true; si vous définissez une valeur ou la valeur actuelle si vous l'appelez sans pramètre. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.see"> &title.see; <para> See <link linkend="package.fileformats.file-passwd.file-passwd-custom.getmap"> <function>File_Passwd_Custom::getMap</function> </link> </para> <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.setmap"> <function>File_Passwd_Custom::setMap</function> </link> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/verifypasswd.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/verifypasswd.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/verifypasswd.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd"> <refnamediv> <refname><function>File_Passwd_Custom::verifyPasswd</function></refname> <refpurpose>Vérifie le mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::verifyPasswd</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd.desc"> &title.desc; <para> Vérifie le mot de passe d'un utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur dont on doit vérifier le mot de passe </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe à vérifier </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd.return"> &title.returns; <para> Retourne &true; si les mots de passe sont égaux, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'échec. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>l'utilisateur n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry> <entry>le mode de cryptage actuel n'est pas supporté</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/adduser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/adduser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/adduser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.adduser"> <refnamediv> <refname><function>File_Passwd_Custom::addUser</function></refname> <refpurpose>Ajoute un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::addUser</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> <paramdef>array <parameter><optional>$extra = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.adduser.desc"> &title.desc; <para> Le nom de l'utilisateur doit commencer par un caractère alphanumérique et ne doit PAS contenir d'autres caractères que des caractères alphanumériques, un underline (_) et le tiret (-). </para> <para> Le nom de l'utilisateur ne DOIT PAS contenir le délimiteur personnalisé ! </para> <para> Si vous utilisez la 'carte de nom', vous devez également utiliser ce nommage dans le tableau fourni, car vos valeurs seront mélangées vers le haut si elles sont dans le mauvais ordre, ce qui est également vrai si vous n'utilisez PAS la carte de nom ! </para> <para>Donc, soyez prudent et utilisez la carte de nom !</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.adduser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> le nom de l'utilisateur à ajouter </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe de l'utilisateur à ajouter </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$extra</parameter> </term> <listitem> <para> propriétés supplémentaires de l'utilisateur à ajouter </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.adduser.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_ALREADY_EXISTS</entry> <entry>l'utilisateur existe déjà</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>le nom de l'utlisateur contient des caractères invalides</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>une des propriétés supplémentaires contient le délimiteur</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry> <entry>le mode de cryptage actuel n'est pas supporté</entry> </row> <row> <entry>FILE_PASSWD_E_UNDEFINED</entry> <entry>si le fichier passwd n'est pas défini</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.adduser.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/changepasswd.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/changepasswd.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/changepasswd.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.changepasswd"> <refnamediv> <refname><function>File_Passwd_Custom::changePasswd</function></refname> <refpurpose>Modifie le mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::changePasswd</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.changepasswd.desc"> &title.desc; <para>Modifie le mot de passe de l'utilisateur spécifié.</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.changepasswd.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur dont on doit modifier le mot de passe </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le nouveau mot de passe en clair </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.changepasswd.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>l'utilisateur n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_INVALID_ENC_MODE</entry> <entry>le mode de cryptage actuel n'est pas supporté</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.changepasswd.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/file-passwd-custom.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/file-passwd-custom.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/file-passwd-custom.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom"> <refnamediv> <refname><function>File_Passwd_Custom::File_Passwd_Custom</function></refname> <refpurpose>Constructeur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once 'File/Passwd/Custom.php';</funcsynopsisinfo> <funcprototype> <funcdef>object &new <function>File_Passwd_custom</function></funcdef> <paramdef>string <parameter><optional>$file = 'passwd'</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom.desc"> &title.desc; <para> Initialise le nouvel objet File_Passwd_Custom avec le chemin spécifié vers le fichier passwd. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> chemin vers le fichier passwd </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom.return"> &title.returns; <para> Retourne un &type.object; <classname>File_Passwd_Custom</classname>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.file-passwd-custom.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getdelim.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getdelim.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getdelim.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.filsystem.file-passwd.file-passwd-custom.getdelim"> <refnamediv> <refname><function>File_Passwd_Custom::getdelim</function></refname> <refpurpuse>Récupère le délimiteur</refpurpuse> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void <function>File_Passwd_Common::getdelim</function></funcdef> <paramdef/> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filsystem.file-passwd.file-passwd-custom.getdelim.desc"> &title.desc; <para> Récpère le caractère délimiteur personalisé. </para> </refsect1> <refsect1 id="package.filsystem.file-passwd.file-passwd-custom.getdelim.return"> &title.returns; <para> Retourne le caractère délimiteur personnalisé sous la forme d'une chaîne de caractères. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getdelim.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getencfunc.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getencfunc.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getencfunc.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.getencfunc"> <refnamediv> <refname><function>File_Passwd_Custom::getEncFunc</function></refname> <refpurpose>Récupère la fonction de cryptage actuelle</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>string <function>File_Passwd_Custom::getEncFunc</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getencfunc.desc"> &title.desc; <para> Récupère la fonction de cryptage actuelle. </para> <para> Si la fonction de cryptage est défini en tant que tableau, e.g. array('File_Passwd', 'crypt_md5'), quelque chose de comparable à 'File_Passwd::crypt_md5' sera retourné. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getencfunc.return"> &title.returns; <para> Retourne la fonction de cryptage actuelle sous la forme d'une chaîne de caractères. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getencfunc.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getmap.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getmap.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/getmap.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.getmap"> <refnamediv> <refname><function>File_Passwd_Custom::getMap</function></refname> <refpurpose>Récupère la carte de nom</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>array <function>File_Passwd_Custom::getMap</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getmap.desc"> &title.desc; <para> Récupère la carte de nom qui sera utilisé pour les propriétés supplémentaires pour cet utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getmap.return"> &title.returns; <para> Retourne la carte de nom sous la forme d'un tableau. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getmap.see"> &title.see; <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.setmap"> <function>File_Passwd_Custom::setMap</function> </link> </para> <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.usemap"> <function>File_Passwd_Custom::useMap</function> </link> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.getmap.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/moduser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/moduser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/moduser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.moduser"> <refnamediv> <refname><function>File_Passwd_Custom::modUser</function></refname> <refpurpose>Midifie un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::modUser</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>array <parameter><optional>$properties = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.desc"> &title.desc; <para> Vousne devriezpas modifier le mot de passe de l'utilisateur avec cete méthode, utilisez plutôt <link linkend="package.fileformats.file-passwd.file-passwd-custom.changepasswd"> <function>File_Passwd_Custom::changePasswd</function> </link> à la place. </para> <para> Vous devriez utiliser cette méthode uniquement si la carte de nom est également utilisée. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à modifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$properties</parameter> </term> <listitem> <para> un tableau associatif de propriétés à modifier </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>l'utilisateur n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>une des propriétés supplémentaires contient un caractère invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.see"> &title.see; <para> See <link linkend="package.fileformats.file-passwd.file-passwd-custom.usemap"> <function>File_Passwd_Custom::useMap</function> </link> </para> <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.changepasswd"> <function>File_Passwd_Custom::changePasswd</function> </link> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.moduser.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/parse.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/parse.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/parse.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.parse"> <refnamediv> <refname><function>File_Passwd_Custom::parse</function></refname> <refpurpose>Analyse un fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::parse</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.parse.desc"> &title.desc; <para> Analyse un fichier passwd personnalisé. &pdevrel; </para> <para> Celà intervient habituellement dans <link linkend="package.fileformats.file-passwd.file-passwd-common.load"> <function>File_Passwd_Custom::load</function> </link>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.parse.return"> &title.returns; <para> &return.success-pearerror; </para> <para> Retourne <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_INVALID_FORMAT</constant>, si le fichier passwd a un format invalide. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.parse.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/save.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/save.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/save.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.save"> <refnamediv> <refname><function>File_Passwd_Custom::save</function></refname> <refpurpose>Sauvegarde les modifications</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::save</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.save.desc"> &title.desc; <para> Applique les modifications et réécrit le fichier passwd. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.save.return"> &title.returns; <para> &return.success-pearerror; </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_DIR_NOT_CREATED</entry> <entry>le dossier dans lequel le fichier passwd doit appartenir n'a pu être créé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le ficiher passwd n'a pu être ouvert en écriture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé exclusivement</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu être déverrouillé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.save.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setdelim.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setdelim.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setdelim.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.filsystem.file-passwd.file-passwd-custom.setdelim"> <refnamediv> <refname><function>File_Passwd_Custom::setDelim</function></refname> <refpurpuse>Définie un délimiteur</refpurpuse> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void <function>File_Passwd_Common::setDelim</function></funcdef> <paramdef>string <parameter>$delim</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.filsystem.file-passwd.file-passwd-custom.setdelim.desc"> &title.desc; <para> Définie un caractère délimiteur personnalisé. </para> </refsect1> <refsect1 id="package.filsystem.file-passwd.file-passwd-custom.setdelim.param"> &title.param; <para> <variablelist> <valistentry> <term> &type.string; <parameter>$delim</parameter> </term> <listitem> <para> le caractère délimiteur personnalisé </para> </listitem> </valistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setdelim.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setencfunc.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setencfunc.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setencfunc.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.setencfunc"> <refnamediv> <refname><function>File_Passwd_Custom::setEncFunc</function></refname> <refpurpose>Définie la fonction de cryptage</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::setEncFunc</function></funcdef> <paramdef>mixed <parameter>$function</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setencfunc.desc"> &title.desc; <para> Définie la fonction de cryptage à utiliser. </para> <para> Vous pouvez définir une fonction de cryptage personnalisé par une chaîne de caractères représentant une fonction unique ou par un tableau référençant une méthode objet/classe. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setencfunc.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <parameter>$function</parameter> </term> <listitem> <para> fonction de cryptage à utiliser (&type.string; ou &type.array;) </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setencfunc.return"> &title.returns; <para> &return.success-pearerror; </para> <para> Retourne <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_INVALID_ENC_MODE</constant> si la fonction demandée n'a pu être appelée. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setencfunc.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setmap.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setmap.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/setmap.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.setmap"> <refnamediv> <refname><function>File_Passwd_Custom::setMap</function></refname> <refpurpose>Définie une carte de nom</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::setMap</function></funcdef> <paramdef>mixed <parameter><optional>$map = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.desc"> &title.desc; <para>Définie la carte de nom à utiliser avec les propriétés supplémentaires de l'utilisateur.</para> <para>Cette carte est utilisé pour nommer le tableau associatif contenant les propriétés supplémentaires.</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.array; <parameter>$map</parameter> </term> <listitem> <para> la carte de nom </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.return"> &title.returns; <para> &return.success-pearerror; </para> <para> Retourne <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_PARAM_MUST_BE_ARRAY</constant>, si la carte de nom n'est pas un tableau. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.see"> &title.see; <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.usemap"> <function>File_Passwd_Custom::useMap</function> </link> </para> <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.getmap"> <function>File_Passwd_Custom::getMap</function> </link> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.setmap.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/staticauth.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/staticauth.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/staticauth.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.staticauth"> <refnamediv> <refname><function>File_Passwd_Custom::staticAuth</function></refname> <refpurpose>Identification rapide</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'File/Passwd/Custom.php'; </funcsynopsisinfo> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::staticAuth</function></funcdef> <paramdef>string <parameter>$file</parameter></paramdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> <paramdef>array <parameter>$opts</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.staticauth.desc"> &title.desc; <para> Identification statique d'un utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.staticauth.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> chemin vers le fichier passwd </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> utilisateur à identifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> mot de passe en clair </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$opts</parameter> </term> <listitem> <para> Un tableau à deux éléments contenant la fonction de cryptage à utiliser ainsi que le caractère délimiteur : e.g. array('md5', '|') </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.staticauth.return"> &title.returns; <para> Retourne &true; si l'identification a réussi, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'échec. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_NOT_EXISTS</entry> <entry>le fichier passwd n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le fichier passwd n'a pu être ouvert en lecture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu être déverrouillé (uniquement si l'identification échoue)</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé (uniquement si l'identification échoue)</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.staticauth.note"> &title.note; ¬e.shouldstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/usemap.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/usemap.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/usemap.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.usemap"> <refnamediv> <refname><function>File_Passwd_Custom::useMap</function></refname> <refpurpose>Utilise ou non la carte de nom</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>boolean <function>File_Passwd_Custom::useMap</function></funcdef> <paramdef>boolean <parameter> <optional>$bool = null</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.desc"> &title.desc; <para> Utilise ou non la carte de nom des propriétés supplémentaires. </para> <para> Vous devez spécifier une carte de nom à utiliser. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.bool; <parameter>$bool</parameter> </term> <listitem> <para> utilise ou non la carte de nom </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.return"> &title.returns; <para> Retourne un booléen &true; si vous définissez une valeur ou la valeur actuelle si vous l'appelez sans pramètre. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.see"> &title.see; <para> See <link linkend="package.fileformats.file-passwd.file-passwd-custom.getmap"> <function>File_Passwd_Custom::getMap</function> </link> </para> <para> Voir <link linkend="package.fileformats.file-passwd.file-passwd-custom.setmap"> <function>File_Passwd_Custom::setMap</function> </link> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.usemap.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/verifypasswd.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/verifypasswd.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-custom/verifypasswd.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd"> <refnamediv> <refname><function>File_Passwd_Custom::verifyPasswd</function></refname> <refpurpose>Vérifie le mot de passe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Custom::verifyPasswd</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> <paramdef>string <parameter>$pass</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd.desc"> &title.desc; <para> Vérifie le mot de passe d'un utilisateur. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur dont on doit vérifier le mot de passe </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe à vérifier </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd.return"> &title.returns; <para> Retourne &true; si les mots de passe sont égaux, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'échec. </para> <para> <table> <title>&title.throws.errortable;</title> <tgroup cols="2"> <thead> <row> <entry>Code erreur</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry>FILE_PASSWD_E_EXISTS_NOT</entry> <entry>l'utilisateur n'existe pas</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry> <entry>le mode de cryptage actuel n'est pas supporté</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-custom.verifypasswd.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->