cvs: phpdoc-fr / Translators /reference/fam .cvsignore functions.xml reference.xml /reference/fam/functions fam-cancel-monitor.xml fam-close.xml
fam-monitor-collection.xml fam-monitor-directory.xml fam-monitor-file.xml fam-next-event.xml fam-open.xml fam-pending.xml fam-resume-monitor.xml
fam-suspend-monitor.xml
| From: | Mehdi Achour | Date: | Mon, 24 Nov 2003 13:07:04 +0000 |
| Subject: | cvs: phpdoc-fr / Translators /reference/fam .cvsignore functions.xml reference.xml /reference/fam/functions fam-cancel-monitor.xml fam-close.xml fam-monitor-collection.xml fam-monitor-directory.xml fam-monitor-file.xml fam-next-event.xml fam-open.xml fam-pending.xml fam-resume-monitor.xml fam-suspend-monitor.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-937@lists.php.net to get a copy of this message | ||
didou Mon Nov 24 08:07:04 2003 EDT
Added files:
/phpdoc-fr/reference/fam .cvsignore functions.xml reference.xml
/phpdoc-fr/reference/fam/functions fam-cancel-monitor.xml
fam-close.xml
fam-monitor-collection.xml
fam-monitor-directory.xml
fam-monitor-file.xml
fam-next-event.xml fam-open.xml
fam-pending.xml
fam-resume-monitor.xml
fam-suspend-monitor.xml
Modified files:
/phpdoc-fr Translators
Log:
Fam translated
Index: phpdoc-fr/Translators diff -u phpdoc-fr/Translators:1.13 phpdoc-fr/Translators:1.14 --- phpdoc-fr/Translators:1.13 Sat Sep 27 09:11:03 2003 +++ phpdoc-fr/Translators Mon Nov 24 08:07:02 2003 @@ -57,6 +57,7 @@ functions/domxml.xml Damien Seguy functions/errorfunc.xml Damien Seguy functions/exec.xml Damien Seguy +functions/fam.xml Mehdi Achour functions/fbsql.xml Damien Seguy functions/fdf.xml Damien Seguy functions/filepro.xml Damien Seguy Index: phpdoc-fr/reference/fam/.cvsignore +++ phpdoc-fr/reference/fam/.cvsignore functions.xml Index: phpdoc-fr/reference/fam/functions.xml +++ phpdoc-fr/reference/fam/functions.xml &reference.fam.functions.fam-cancel-monitor; &reference.fam.functions.fam-close; &reference.fam.functions.fam-monitor-collection; &reference.fam.functions.fam-monitor-directory; &reference.fam.functions.fam-monitor-file; &reference.fam.functions.fam-next-event; &reference.fam.functions.fam-open; &reference.fam.functions.fam-pending; &reference.fam.functions.fam-resume-monitor; &reference.fam.functions.fam-suspend-monitor; Index: phpdoc-fr/reference/fam/reference.xml +++ phpdoc-fr/reference/fam/reference.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <reference id="ref.fam"> <title>Fonctions de monitorage d'altération de fichiers</title> <titleabbrev>FAM</titleabbrev> <partintro> <section id="fam.intro"> &reftitle.intro; <para> FAM monitore les fichiers et les dossiers, notifiant les applications intéressées des changements. </para> <para> Un script &php; peut spécifier une liste de fichiers à FAM pour les surveiller en utilisant les fonctions fournies par cette extension. </para> <para> Le processus FAM est démarré lorsque la première connexion d'une application est ouverte. Il se termine après que toutes les connexions aient été fermées. </para> </section> <section id="fam.requirements"> &reftitle.required; <para> Cette extension requière ... version ... disponible sur ... </para> </section> <section id="fam.installation"> &reftitle.install; <para> </para> </section> <section id="fam.configuration"> &reftitle.runtime; &no.config; </section> <section id="fam.resources"> &reftitle.resources; <section id="fam.resources.fam"> <title>Resources FAM</title> <para> </para> </section> </section> <section id="fam.constants"> &reftitle.constants; &extension.constants; <para> <table> <title>Constantes FAM</title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry> <constant>FAMChanged</constant> (<type>integer</type>) </entry> <entry> Le status de </entry> </row> <row> <entry> <constant>FAMDeleted</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMStartExecuting</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMStopExecuting</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMCreated</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMMoved</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMAcknowledge</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMExists</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMEndExist</constant> (<type>integer</type>) </entry> <entry></entry> </row> </tbody> </tgroup> </table> </para> </section> </partintro> &reference.fam.functions; </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-cancel-monitor.xml +++ phpdoc-fr/reference/fam/functions/fam-cancel-monitor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-cancel-monitor"> <refnamediv> <refname>fam_cancel_monitor</refname> <refpurpose>Termine le monitoring</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>fam_cancel_monitor</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>resource</type><parameter>fam_monitor</parameter></methodparam> </methodsynopsis> <para> <function>fam_cancel_monitor</function> termine le monitoring d'une resource créée précédemment en utilisant une fonction FAM. </para> <para> Voir aussi <function>fam_monitor_file</function>, <function>fam_monitor_directory</function>, <function>fam_monitor_collection</function> et <function>fam_suspend_monitor</function> </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-close.xml +++ phpdoc-fr/reference/fam/functions/fam-close.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-close"> <refnamediv> <refname>fam_close</refname> <refpurpose>Ferme la connexion FAM</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <void/><methodname>fam_close</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> </methodsynopsis> <para> <function>fam_close</function> ferme une connexion au service FAM, précédemment ouverte en utilisant <function>fam_open</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-monitor-collection.xml +++ phpdoc-fr/reference/fam/functions/fam-monitor-collection.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-monitor-collection"> <refnamediv> <refname>fam_monitor_collection</refname> <refpurpose>Monitore les changements d'une collection de fichiers dans un dossier</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>resource</type><methodname>fam_monitor_collection</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>string</type><parameter>dirname</parameter></methodparam> <methodparam><type>int</type><parameter>depth</parameter></methodparam> <methodparam><type>string</type><parameter>mask</parameter></methodparam> </methodsynopsis> <para> <function>fam_monitor_file</function> monitore une collection de fichiers dans le dossier <parameter>dirname</parameter>. Les fichiers à surveiller sont indiqués par le chemin vers le dossier <parameter>dirname</parameter>, la profondeur maximale <parameter>depth</parameter> à partir de ce dossier et une pattern shell pour filtrer les fichiers à surveiller. <!-- TODO: go a bit more into details here --> </para> <para> Voir aussi <function>fam_monitor_file</function>, <function>fam_monitor_directory</function>, <function>fam_cancel_monitor</function>, <function>fam_suspend_monitor</function> et <function>fam_resume_monitor</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-monitor-directory.xml +++ phpdoc-fr/reference/fam/functions/fam-monitor-directory.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-monitor-directory"> <refnamediv> <refname>fam_monitor_directory</refname> <refpurpose>Monitore un dossier pour les changements</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>resource</type><methodname>fam_monitor_directory</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>string</type><parameter>dirname</parameter></methodparam> </methodsynopsis> <para> <function>fam_monitor_file</function> monitore un dossier <parameter>dirname</parameter> et tous ses fichiers. Un événement FAM sera généré à chaque fois que le status du dossier (i.e. le résultat de la fonction <function>stat</function> sur ce dossier) ou de son contenu (ie. le résultat de <function>readdir</function>) changera. <!-- TODO: go a bit more into details here --> </para> <para> Voir aussi <function>fam_monitor_file</function>, <function>fam_monitor_collection</function>, <function>fam_cancel_monitor</function>, <function>fam_suspend_monitor</function> et <function>fam_resume_monitor</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-monitor-file.xml +++ phpdoc-fr/reference/fam/functions/fam-monitor-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-monitor-file"> <refnamediv> <refname>fam_monitor_file</refname> <refpurpose>Monitore un fichier régulier pour les changements</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>resource</type><methodname>fam_monitor_file</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> <function>fam_monitor_file</function> met en place le monitoring pour un fichier. Un événement FAM sera généré à chaque fois que le status du fichier (i.e. le résultat de la fonction <function>stat</function> sur ce fichier) changera. </para> <para> Voir aussi <function>fam_monitor_directory</function>, <function>fam_monitor_collection</function>, <function>fam_cancel_monitor</function>, <function>fam_suspend_monitor</function> et <function>fam_resume_monitor</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-next-event.xml +++ phpdoc-fr/reference/fam/functions/fam-next-event.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-next-event"> <refnamediv> <refname>fam_next_event</refname> <refpurpose>...</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>array</type><methodname>fam_next_event</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> </methodsynopsis> <para> <function>fam_next_event</function> retourne l'événement FAM suivant dans la file d'attente. Cette fonction bloquera tant qu'un événement sera disponible, ce qui peut être vérifié en appelant <function>fam_pending</function>. </para> <para> <function>fam_ext_event</function> retournera un tableau contenant un code événement FAM dans l'entrée '<literal>code</literal>', le chemin vers le fichier ciblé dans l'entrée '<literal>filename</literal>' et optionellement un nom d'hôte dans l'entrée '<literal>hostname</literal>'. </para> <para> Les codes événements possibles sont détaillés dans la partie <link linkend="ref.fam">introduction</link> de cette section. </para> <para> Voir aussi <function>fam_pending</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-open.xml +++ phpdoc-fr/reference/fam/functions/fam-open.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-open"> <refnamediv> <refname>fam_open</refname> <refpurpose>Ouvre une connexion vers le démon FAM</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>resource</type><methodname>fam_open</methodname> <methodparam choice='opt'><type>string</type><parameter>appname</parameter></methodparam> </methodsynopsis> <para> <function>fam_open</function> ouvre une connexion vers le démon du service FAM. Le paramètre optionnel <parameter>appname</parameter> est une chaîne de caractères identifiant l'application pour les journaux de loggs. </para> <para> Voir aussi <function>fam_close</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-pending.xml +++ phpdoc-fr/reference/fam/functions/fam-pending.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-pending"> <refnamediv> <refname>fam_pending</refname> <refpurpose>Vérifie si des événements FAM sont disponibles</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>fam_pending</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> </methodsynopsis> <para> <function>fam_pending</function> retourne &true; si des événements sont disponibles pour être récupérés avec <function>fam_next_event</function>. </para> <para> Voir aussi <function>fam_next_event</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-resume-monitor.xml +++ phpdoc-fr/reference/fam/functions/fam-resume-monitor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-resume-monitor"> <refnamediv> <refname>fam_resume_monitor</refname> <refpurpose>Reprend un monitoring suspendu</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>fam_resume_monitor</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>resource</type><parameter>fam_monitor</parameter></methodparam> </methodsynopsis> <para> <function>fam_resume_monitor</function> reprend le monitoring d'une ressource précédemment suspendu avec <function>fam_suspend_monitor</function>. </para> <para> Voir aussi <function>fam_suspend_monitor</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-suspend-monitor.xml +++ phpdoc-fr/reference/fam/functions/fam-suspend-monitor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-suspend-monitor"> <refnamediv> <refname>fam_suspend_monitor</refname> <refpurpose>Suspend temporairement le monitoring</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>fam_suspend_monitor</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>resource</type><parameter>fam_monitor</parameter></methodparam> </methodsynopsis> <para> <function>fam_suspend_monitor</function> suspend temporairement le monitoring d'une ressource précédement ouverte avec une fonction FAM. Le monitoring peut être repris par la suite à l'aide de <function>fam_resume_monitor</function> sans avoir à en recréer un nouveau. </para> <para> Voir aussi <function>fam_resume_monitor</function> et <function>fam_cancel_monitor</function>. </para> </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 indent-tabs-mode:nil 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 -->
Index: phpdoc-fr/Translators diff -u phpdoc-fr/Translators:1.13 phpdoc-fr/Translators:1.14 --- phpdoc-fr/Translators:1.13 Sat Sep 27 09:11:03 2003 +++ phpdoc-fr/Translators Mon Nov 24 08:07:02 2003 @@ -57,6 +57,7 @@ functions/domxml.xml Damien Seguy functions/errorfunc.xml Damien Seguy functions/exec.xml Damien Seguy +functions/fam.xml Mehdi Achour functions/fbsql.xml Damien Seguy functions/fdf.xml Damien Seguy functions/filepro.xml Damien Seguy Index: phpdoc-fr/reference/fam/.cvsignore +++ phpdoc-fr/reference/fam/.cvsignore functions.xml Index: phpdoc-fr/reference/fam/functions.xml +++ phpdoc-fr/reference/fam/functions.xml &reference.fam.functions.fam-cancel-monitor; &reference.fam.functions.fam-close; &reference.fam.functions.fam-monitor-collection; &reference.fam.functions.fam-monitor-directory; &reference.fam.functions.fam-monitor-file; &reference.fam.functions.fam-next-event; &reference.fam.functions.fam-open; &reference.fam.functions.fam-pending; &reference.fam.functions.fam-resume-monitor; &reference.fam.functions.fam-suspend-monitor; Index: phpdoc-fr/reference/fam/reference.xml +++ phpdoc-fr/reference/fam/reference.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <reference id="ref.fam"> <title>Fonctions de monitorage d'altération de fichiers</title> <titleabbrev>FAM</titleabbrev> <partintro> <section id="fam.intro"> &reftitle.intro; <para> FAM monitore les fichiers et les dossiers, notifiant les applications intéressées des changements. </para> <para> Un script &php; peut spécifier une liste de fichiers à FAM pour les surveiller en utilisant les fonctions fournies par cette extension. </para> <para> Le processus FAM est démarré lorsque la première connexion d'une application est ouverte. Il se termine après que toutes les connexions aient été fermées. </para> </section> <section id="fam.requirements"> &reftitle.required; <para> Cette extension requière ... version ... disponible sur ... </para> </section> <section id="fam.installation"> &reftitle.install; <para> </para> </section> <section id="fam.configuration"> &reftitle.runtime; &no.config; </section> <section id="fam.resources"> &reftitle.resources; <section id="fam.resources.fam"> <title>Resources FAM</title> <para> </para> </section> </section> <section id="fam.constants"> &reftitle.constants; &extension.constants; <para> <table> <title>Constantes FAM</title> <tgroup cols="2"> <thead> <row> <entry>Constante</entry> <entry>Signification</entry> </row> </thead> <tbody> <row> <entry> <constant>FAMChanged</constant> (<type>integer</type>) </entry> <entry> Le status de </entry> </row> <row> <entry> <constant>FAMDeleted</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMStartExecuting</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMStopExecuting</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMCreated</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMMoved</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMAcknowledge</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMExists</constant> (<type>integer</type>) </entry> <entry></entry> </row> <row> <entry> <constant>FAMEndExist</constant> (<type>integer</type>) </entry> <entry></entry> </row> </tbody> </tgroup> </table> </para> </section> </partintro> &reference.fam.functions; </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-cancel-monitor.xml +++ phpdoc-fr/reference/fam/functions/fam-cancel-monitor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-cancel-monitor"> <refnamediv> <refname>fam_cancel_monitor</refname> <refpurpose>Termine le monitoring</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>fam_cancel_monitor</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>resource</type><parameter>fam_monitor</parameter></methodparam> </methodsynopsis> <para> <function>fam_cancel_monitor</function> termine le monitoring d'une resource créée précédemment en utilisant une fonction FAM. </para> <para> Voir aussi <function>fam_monitor_file</function>, <function>fam_monitor_directory</function>, <function>fam_monitor_collection</function> et <function>fam_suspend_monitor</function> </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-close.xml +++ phpdoc-fr/reference/fam/functions/fam-close.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-close"> <refnamediv> <refname>fam_close</refname> <refpurpose>Ferme la connexion FAM</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <void/><methodname>fam_close</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> </methodsynopsis> <para> <function>fam_close</function> ferme une connexion au service FAM, précédemment ouverte en utilisant <function>fam_open</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-monitor-collection.xml +++ phpdoc-fr/reference/fam/functions/fam-monitor-collection.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-monitor-collection"> <refnamediv> <refname>fam_monitor_collection</refname> <refpurpose>Monitore les changements d'une collection de fichiers dans un dossier</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>resource</type><methodname>fam_monitor_collection</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>string</type><parameter>dirname</parameter></methodparam> <methodparam><type>int</type><parameter>depth</parameter></methodparam> <methodparam><type>string</type><parameter>mask</parameter></methodparam> </methodsynopsis> <para> <function>fam_monitor_file</function> monitore une collection de fichiers dans le dossier <parameter>dirname</parameter>. Les fichiers à surveiller sont indiqués par le chemin vers le dossier <parameter>dirname</parameter>, la profondeur maximale <parameter>depth</parameter> à partir de ce dossier et une pattern shell pour filtrer les fichiers à surveiller. <!-- TODO: go a bit more into details here --> </para> <para> Voir aussi <function>fam_monitor_file</function>, <function>fam_monitor_directory</function>, <function>fam_cancel_monitor</function>, <function>fam_suspend_monitor</function> et <function>fam_resume_monitor</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-monitor-directory.xml +++ phpdoc-fr/reference/fam/functions/fam-monitor-directory.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-monitor-directory"> <refnamediv> <refname>fam_monitor_directory</refname> <refpurpose>Monitore un dossier pour les changements</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>resource</type><methodname>fam_monitor_directory</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>string</type><parameter>dirname</parameter></methodparam> </methodsynopsis> <para> <function>fam_monitor_file</function> monitore un dossier <parameter>dirname</parameter> et tous ses fichiers. Un événement FAM sera généré à chaque fois que le status du dossier (i.e. le résultat de la fonction <function>stat</function> sur ce dossier) ou de son contenu (ie. le résultat de <function>readdir</function>) changera. <!-- TODO: go a bit more into details here --> </para> <para> Voir aussi <function>fam_monitor_file</function>, <function>fam_monitor_collection</function>, <function>fam_cancel_monitor</function>, <function>fam_suspend_monitor</function> et <function>fam_resume_monitor</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-monitor-file.xml +++ phpdoc-fr/reference/fam/functions/fam-monitor-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-monitor-file"> <refnamediv> <refname>fam_monitor_file</refname> <refpurpose>Monitore un fichier régulier pour les changements</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>resource</type><methodname>fam_monitor_file</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> <function>fam_monitor_file</function> met en place le monitoring pour un fichier. Un événement FAM sera généré à chaque fois que le status du fichier (i.e. le résultat de la fonction <function>stat</function> sur ce fichier) changera. </para> <para> Voir aussi <function>fam_monitor_directory</function>, <function>fam_monitor_collection</function>, <function>fam_cancel_monitor</function>, <function>fam_suspend_monitor</function> et <function>fam_resume_monitor</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-next-event.xml +++ phpdoc-fr/reference/fam/functions/fam-next-event.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-next-event"> <refnamediv> <refname>fam_next_event</refname> <refpurpose>...</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>array</type><methodname>fam_next_event</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> </methodsynopsis> <para> <function>fam_next_event</function> retourne l'événement FAM suivant dans la file d'attente. Cette fonction bloquera tant qu'un événement sera disponible, ce qui peut être vérifié en appelant <function>fam_pending</function>. </para> <para> <function>fam_ext_event</function> retournera un tableau contenant un code événement FAM dans l'entrée '<literal>code</literal>', le chemin vers le fichier ciblé dans l'entrée '<literal>filename</literal>' et optionellement un nom d'hôte dans l'entrée '<literal>hostname</literal>'. </para> <para> Les codes événements possibles sont détaillés dans la partie <link linkend="ref.fam">introduction</link> de cette section. </para> <para> Voir aussi <function>fam_pending</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-open.xml +++ phpdoc-fr/reference/fam/functions/fam-open.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-open"> <refnamediv> <refname>fam_open</refname> <refpurpose>Ouvre une connexion vers le démon FAM</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>resource</type><methodname>fam_open</methodname> <methodparam choice='opt'><type>string</type><parameter>appname</parameter></methodparam> </methodsynopsis> <para> <function>fam_open</function> ouvre une connexion vers le démon du service FAM. Le paramètre optionnel <parameter>appname</parameter> est une chaîne de caractères identifiant l'application pour les journaux de loggs. </para> <para> Voir aussi <function>fam_close</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-pending.xml +++ phpdoc-fr/reference/fam/functions/fam-pending.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-pending"> <refnamediv> <refname>fam_pending</refname> <refpurpose>Vérifie si des événements FAM sont disponibles</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>fam_pending</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> </methodsynopsis> <para> <function>fam_pending</function> retourne &true; si des événements sont disponibles pour être récupérés avec <function>fam_next_event</function>. </para> <para> Voir aussi <function>fam_next_event</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-resume-monitor.xml +++ phpdoc-fr/reference/fam/functions/fam-resume-monitor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-resume-monitor"> <refnamediv> <refname>fam_resume_monitor</refname> <refpurpose>Reprend un monitoring suspendu</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>fam_resume_monitor</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>resource</type><parameter>fam_monitor</parameter></methodparam> </methodsynopsis> <para> <function>fam_resume_monitor</function> reprend le monitoring d'une ressource précédemment suspendu avec <function>fam_suspend_monitor</function>. </para> <para> Voir aussi <function>fam_suspend_monitor</function>. </para> </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 indent-tabs-mode:nil 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 --> Index: phpdoc-fr/reference/fam/functions/fam-suspend-monitor.xml +++ phpdoc-fr/reference/fam/functions/fam-suspend-monitor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.fam-suspend-monitor"> <refnamediv> <refname>fam_suspend_monitor</refname> <refpurpose>Suspend temporairement le monitoring</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>fam_suspend_monitor</methodname> <methodparam><type>resource</type><parameter>fam</parameter></methodparam> <methodparam><type>resource</type><parameter>fam_monitor</parameter></methodparam> </methodsynopsis> <para> <function>fam_suspend_monitor</function> suspend temporairement le monitoring d'une ressource précédement ouverte avec une fonction FAM. Le monitoring peut être repris par la suite à l'aide de <function>fam_resume_monitor</function> sans avoir à en recréer un nouveau. </para> <para> Voir aussi <function>fam_resume_monitor</function> et <function>fam_cancel_monitor</function>. </para> </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 indent-tabs-mode:nil 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 -->