cvs: peardoc /fr/package/fileformats/file-passwd/file-passwd-common --construct.xml -auth.xml -close.xml -open.xml -save.xml deluser.xml getfile.xml
listuser.xml load.xml parse.xml save.xml setfile.xml userexists.xml
| From: | Yannick TORRES | Date: | Wed, 28 Jul 2004 22:01:54 +0000 |
| Subject: | cvs: peardoc /fr/package/fileformats/file-passwd/file-passwd-common --construct.xml -auth.xml -close.xml -open.xml -save.xml deluser.xml getfile.xml listuser.xml load.xml parse.xml save.xml setfile.xml userexists.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4682@lists.php.net to get a copy of this message | ||
yannick Wed Jul 28 18:01:54 2004 EDT
Added files:
/peardoc/fr/package/fileformats/file-passwd/file-passwd-common
-auth.xml
-close.xml
--construct.xml
deluser.xml
getfile.xml
listuser.xml
load.xml
-open.xml
parse.xml
-save.xml
save.xml
setfile.xml
userexists.xml
Log:
initial translation
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-auth.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-auth.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-auth.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.-auth"> <refnamediv> <refname><function>File_Passwd_Common::_auth</function></refname> <refpurpose>La méthode de base pour File_Passwd::staticAuth()</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::_auth</function></funcdef> <paramdef>string <parameter>$file</parameter></paramdef> <paramdef>string <parameter>$id</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-auth.desc"> &title.desc; <para> La méthode de base pour <function>File_Passwd_*::staticAuth</function> </para> <para> &pdevrel; </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-auth.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>$id</parameter> </term> <listitem> <para> user_id à rechercher </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-auth.return"> &title.returns; <para> Retourne une ligne du fichier passwd sous la forme d'une chaîne de caractères contenant $id, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'erreur. </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>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-common.-auth.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-common/-close.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-close.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-close.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.-close"> <refnamediv> <refname><function>File_Passwd_Common::_close</function></refname> <refpurpose>Ferme une ressource de fichier ouverte et verrouillée précédemment</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::_close</function></funcdef> <paramdef>resource <parameter>&$file_handle</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-close.desc"> &title.desc; <para> Ferme une ressource de fichier ouverte par <function>File_Passwd_Common::_open</function> et verrouillée précédemment. </para> <para> &pdevrel; </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-close.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.res; <parameter>&$file_handle</parameter> </term> <listitem> <para> la ressource de fichier à utiliser </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-close.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_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-common.-close.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-common/--construct.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/--construct.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/--construct.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.--construct"> <refnamediv> <refname><function>File_Passwd_Common::__construct</function></refname> <refpurpose>Constructeur (ZE2)</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>object <function>File_Passwd_Common::__construct</function></funcdef> <paramdef>string <parameter><optional>$file = 'passwd'</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.--construct.desc"> &title.desc; <para> Implémenté pour des raisons de compatibilité avec le Zend Engine 2. </para> <para> &pdevrel; </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.--construct.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-common.--construct.return"> &title.returns; <para> Retourne un &type.object; File_Passwd_* - nouvel instance de l'objet File_Passwd_* . </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.--construct.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-common/deluser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/deluser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/deluser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.deluser"> <refnamediv> <refname><function>File_Passwd_Common::delUser</function></refname> <refpurpose>Efface un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed^<function>File_Passwd_Common::delUser</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.deluser.desc"> &title.desc; <para>Efface un utilisateur.</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.deluser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> nom de l'utilisateur </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.deluser.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> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.deluser.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-common/getfile.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/getfile.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/getfile.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.getfile"> <refnamediv> <refname><function>File_Passwd_Common::getFile</function></refname> <refpurpose>Récupère le chemin vers le fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>string <function>File_Passwd_Common::getFile</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.getfile.desc"> &title.desc; <para> Récupère le chemin vers le fichier passwd. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.getfile.return"> &title.returns; <para> Retourne le chemin vers le fichier passwd sous le forme d'une chaîne de caractères. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.getfile.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-common/listuser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/listuser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/listuser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.listuser"> <refnamediv> <refname><function>File_Passwd_Common::listUser</function></refname> <refpurpose>Liste les utilisateurs</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::listUser</function></funcdef> <paramdef>string <parameter><optional>$user = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.listuser.desc"> &title.desc; <para>Liste les propriétés d'un utilisateur ou de tous les utilisateurs.</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.listuser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à lister ou tous les utilisateurs si vide </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.listuser.return"> &title.returns; <para> Retourne un &type.array; d'utilisateur(s) ou un objet <classname>PEAR_Error</classname> en cas d'erreur. </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>l'utilisateur n'existe pas</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.listuser.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-common/load.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/load.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/load.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.load"> <refnamediv> <refname><function>File_Passwd_Common::load</function></refname> <refpurpose>Charge un fichier</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::load</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.load.desc"> &title.desc; <para> Charge le fichier passwd et appel la méthode <function>parse</function> de la classe enfant étendue. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.load.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 se trouver n'a pu être créé</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é</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_FORMAT</entry> <entry>le fichier passwd a un format invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.load.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-common/-open.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-open.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-open.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.-open"> <refnamediv> <refname><function>File_Passwd_Common::_open</function></refname> <refpurpose>Ouvre un fichier</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed &<function>File_Passwd_Common::_open</function></funcdef> <paramdef>string <parameter>$mode</parameter></paramdef> <paramdef>mixed <parameter><optional>$file = null</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-open.desc"> &title.desc; <para> Ouvre un fichier, le verrouille exclusivement et retourne la ressource de fichier associée. </para> <para>&pdevrel;</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-open.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$mode</parameter> </term> <listitem> <para> le mode d'ouverture du fichier </para> </listitem> </varlistentry> <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-common.-open.return"> &title.returns; <para> Retourne une ressource de fichier 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_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 fichier passwd n'a pu être ouvert dans le mode désiré</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-open.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-common/parse.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/parse.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/parse.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.parse"> <refnamediv> <refname><function>File_Passwd_Common::parse</function></refname> <refpurpose>Analyse le contenu d'un fichier</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>object <function>File_Passwd_Common::parse</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.parse.desc"> &title.desc; <para> C'est une méthode abstraite qui retourne uniquement un objet <classname>PEAR_Error</classname>, donc, elle est écrasée dans la classe enfant étendue. </para> <para>Vous devez écraser cette méthode dans votre classe File_Passwd_* .</para> <para>&pdevrel;</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.parse.return"> &title.returns; <para> Retourne un objet <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_METHOD_NOT_IMPLEMENTED</constant>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.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-common/-save.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-save.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-save.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.-save"> <refnamediv> <refname><function>File_Passwd_Common::_save</function></refname> <refpurpose>Sauvegarde le contenu modifié du fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::_save</function></funcdef> <paramdef>string <parameter>$content</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-save.desc"> &title.desc; <para> Sauvegarde le contenu du fichier. </para> <para> &pdevrel; </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-save.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$content</parameter> </term> <listitem> <para> contenu du fichier </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-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 fichier 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-common.-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-common/save.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/save.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/save.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.save"> <refnamediv> <refname><function>File_Passwd_Common::save</function></refname> <refpurpose>Applique les modifications et réécrit le fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>object <function>File_Passwd_Common::save</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.save.desc"> &title.desc; <para> C'est une méthode abstraite qui retourne uniquement un objet <classname>PEAR_Error</classname>, donc, elle est écrasée dans la classe enfant étendue. </para> <para>Vous devez écraser cette méthode dans votre classe File_Passwd_* .</para> <para>&pdevrel;</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.save.return"> &title.returns; <para> Retourne un objet <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_METHOD_NOT_IMPLEMENTED</constant>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.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-common/setfile.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/setfile.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/setfile.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.setfile"> <refnamediv> <refname><function>File_Passwd_Common::setFile</function></refname> <refpurpose>Définie le chemin du fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void <function>File_Passwd_Common::setFile</function></funcdef> <paramdef>string <parameter>$file</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.setfile.desc"> &title.desc; <para> Définie le chemin du fichier passwd. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.setfile.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-common.setfile.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-common/userexists.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/userexists.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/userexists.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.userexists"> <refnamediv> <refname><function>File_Passwd_Common::userExists</function></refname> <refpurpose>Vérifie si un utilisateur existe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>bool <function>File_Passwd_Common::userExists</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.userexists.desc"> &title.desc; <para> Vérifie si un utilisateur existe ou pas. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.userexists.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> le nom de l'utilisateur dont on doit vérifier l'existence. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.userexists.return"> &title.returns; <para> Retourne un booléen suivant si l'utilisateur existe ou non. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.userexists.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-common/-auth.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-auth.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-auth.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.-auth"> <refnamediv> <refname><function>File_Passwd_Common::_auth</function></refname> <refpurpose>La méthode de base pour File_Passwd::staticAuth()</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::_auth</function></funcdef> <paramdef>string <parameter>$file</parameter></paramdef> <paramdef>string <parameter>$id</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-auth.desc"> &title.desc; <para> La méthode de base pour <function>File_Passwd_*::staticAuth</function> </para> <para> &pdevrel; </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-auth.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>$id</parameter> </term> <listitem> <para> user_id à rechercher </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-auth.return"> &title.returns; <para> Retourne une ligne du fichier passwd sous la forme d'une chaîne de caractères contenant $id, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'erreur. </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>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-common.-auth.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-common/-close.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-close.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-close.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.-close"> <refnamediv> <refname><function>File_Passwd_Common::_close</function></refname> <refpurpose>Ferme une ressource de fichier ouverte et verrouillée précédemment</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::_close</function></funcdef> <paramdef>resource <parameter>&$file_handle</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-close.desc"> &title.desc; <para> Ferme une ressource de fichier ouverte par <function>File_Passwd_Common::_open</function> et verrouillée précédemment. </para> <para> &pdevrel; </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-close.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.res; <parameter>&$file_handle</parameter> </term> <listitem> <para> la ressource de fichier à utiliser </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-close.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_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-common.-close.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-common/--construct.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/--construct.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/--construct.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.--construct"> <refnamediv> <refname><function>File_Passwd_Common::__construct</function></refname> <refpurpose>Constructeur (ZE2)</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>object <function>File_Passwd_Common::__construct</function></funcdef> <paramdef>string <parameter><optional>$file = 'passwd'</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.--construct.desc"> &title.desc; <para> Implémenté pour des raisons de compatibilité avec le Zend Engine 2. </para> <para> &pdevrel; </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.--construct.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-common.--construct.return"> &title.returns; <para> Retourne un &type.object; File_Passwd_* - nouvel instance de l'objet File_Passwd_* . </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.--construct.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-common/deluser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/deluser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/deluser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.deluser"> <refnamediv> <refname><function>File_Passwd_Common::delUser</function></refname> <refpurpose>Efface un utilisateur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed^<function>File_Passwd_Common::delUser</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.deluser.desc"> &title.desc; <para>Efface un utilisateur.</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.deluser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> nom de l'utilisateur </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.deluser.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> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.deluser.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-common/getfile.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/getfile.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/getfile.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.getfile"> <refnamediv> <refname><function>File_Passwd_Common::getFile</function></refname> <refpurpose>Récupère le chemin vers le fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>string <function>File_Passwd_Common::getFile</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.getfile.desc"> &title.desc; <para> Récupère le chemin vers le fichier passwd. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.getfile.return"> &title.returns; <para> Retourne le chemin vers le fichier passwd sous le forme d'une chaîne de caractères. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.getfile.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-common/listuser.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/listuser.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/listuser.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.listuser"> <refnamediv> <refname><function>File_Passwd_Common::listUser</function></refname> <refpurpose>Liste les utilisateurs</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::listUser</function></funcdef> <paramdef>string <parameter><optional>$user = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.listuser.desc"> &title.desc; <para>Liste les propriétés d'un utilisateur ou de tous les utilisateurs.</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.listuser.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> l'utilisateur à lister ou tous les utilisateurs si vide </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.listuser.return"> &title.returns; <para> Retourne un &type.array; d'utilisateur(s) ou un objet <classname>PEAR_Error</classname> en cas d'erreur. </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>l'utilisateur n'existe pas</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.listuser.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-common/load.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/load.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/load.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.load"> <refnamediv> <refname><function>File_Passwd_Common::load</function></refname> <refpurpose>Charge un fichier</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::load</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.load.desc"> &title.desc; <para> Charge le fichier passwd et appel la méthode <function>parse</function> de la classe enfant étendue. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.load.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 se trouver n'a pu être créé</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é</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu être fermé</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_FORMAT</entry> <entry>le fichier passwd a un format invalide</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.load.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-common/-open.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-open.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-open.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.-open"> <refnamediv> <refname><function>File_Passwd_Common::_open</function></refname> <refpurpose>Ouvre un fichier</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed &<function>File_Passwd_Common::_open</function></funcdef> <paramdef>string <parameter>$mode</parameter></paramdef> <paramdef>mixed <parameter><optional>$file = null</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-open.desc"> &title.desc; <para> Ouvre un fichier, le verrouille exclusivement et retourne la ressource de fichier associée. </para> <para>&pdevrel;</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-open.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$mode</parameter> </term> <listitem> <para> le mode d'ouverture du fichier </para> </listitem> </varlistentry> <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-common.-open.return"> &title.returns; <para> Retourne une ressource de fichier 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_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 fichier passwd n'a pu être ouvert dans le mode désiré</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu être verrouillé</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-open.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-common/parse.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/parse.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/parse.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.parse"> <refnamediv> <refname><function>File_Passwd_Common::parse</function></refname> <refpurpose>Analyse le contenu d'un fichier</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>object <function>File_Passwd_Common::parse</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.parse.desc"> &title.desc; <para> C'est une méthode abstraite qui retourne uniquement un objet <classname>PEAR_Error</classname>, donc, elle est écrasée dans la classe enfant étendue. </para> <para>Vous devez écraser cette méthode dans votre classe File_Passwd_* .</para> <para>&pdevrel;</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.parse.return"> &title.returns; <para> Retourne un objet <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_METHOD_NOT_IMPLEMENTED</constant>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.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-common/-save.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-save.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/-save.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.-save"> <refnamediv> <refname><function>File_Passwd_Common::_save</function></refname> <refpurpose>Sauvegarde le contenu modifié du fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>mixed <function>File_Passwd_Common::_save</function></funcdef> <paramdef>string <parameter>$content</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-save.desc"> &title.desc; <para> Sauvegarde le contenu du fichier. </para> <para> &pdevrel; </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-save.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$content</parameter> </term> <listitem> <para> contenu du fichier </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.-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 fichier 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-common.-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-common/save.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/save.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/save.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.save"> <refnamediv> <refname><function>File_Passwd_Common::save</function></refname> <refpurpose>Applique les modifications et réécrit le fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>object <function>File_Passwd_Common::save</function></funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.save.desc"> &title.desc; <para> C'est une méthode abstraite qui retourne uniquement un objet <classname>PEAR_Error</classname>, donc, elle est écrasée dans la classe enfant étendue. </para> <para>Vous devez écraser cette méthode dans votre classe File_Passwd_* .</para> <para>&pdevrel;</para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.save.return"> &title.returns; <para> Retourne un objet <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_METHOD_NOT_IMPLEMENTED</constant>. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.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-common/setfile.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/setfile.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/setfile.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.setfile"> <refnamediv> <refname><function>File_Passwd_Common::setFile</function></refname> <refpurpose>Définie le chemin du fichier passwd</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void <function>File_Passwd_Common::setFile</function></funcdef> <paramdef>string <parameter>$file</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.setfile.desc"> &title.desc; <para> Définie le chemin du fichier passwd. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.setfile.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-common.setfile.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-common/userexists.xml?r=1.1&p=1 Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-common/userexists.xml +++ peardoc/fr/package/fileformats/file-passwd/file-passwd-common/userexists.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="package.fileformats.file-passwd.file-passwd-common.userexists"> <refnamediv> <refname><function>File_Passwd_Common::userExists</function></refname> <refpurpose>Vérifie si un utilisateur existe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>bool <function>File_Passwd_Common::userExists</function></funcdef> <paramdef>string <parameter>$user</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.userexists.desc"> &title.desc; <para> Vérifie si un utilisateur existe ou pas. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.userexists.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$user</parameter> </term> <listitem> <para> le nom de l'utilisateur dont on doit vérifier l'existence. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.userexists.return"> &title.returns; <para> Retourne un booléen suivant si l'utilisateur existe ou non. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-common.userexists.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 -->