From 9e66649af88655ba2dc29c34cd711431df9ae348 Mon Sep 17 00:00:00 2001 From: Friedhelm Betz Date: Thu, 1 Apr 2004 08:58:57 +0000 Subject: [PATCH] some more infos on FAM constants in extra file, bit of description git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155128 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/fam/constants.xml | 103 ++++++++++++++++++++++++++++++++++++ reference/fam/reference.xml | 97 ++++----------------------------- 2 files changed, 113 insertions(+), 87 deletions(-) create mode 100644 reference/fam/constants.xml diff --git a/reference/fam/constants.xml b/reference/fam/constants.xml new file mode 100644 index 0000000000..de065c3475 --- /dev/null +++ b/reference/fam/constants.xml @@ -0,0 +1,103 @@ + + +
+ &reftitle.constants; + &extension.constants; + + FAM event constants + + + + Constant + Description + + + + + + FAMChanged (integer) + + + Some value which can be obtained with fstat(1) changed for a + file or directory. + + + + + FAMDeleted (integer) + + A file or directory was deleted or renamed. + + + + FAMStartExecuting (integer) + + An executable file started executing. + + + + FAMStopExecuting (integer) + + An executable file that was running finished. + + + + FAMCreated (integer) + + A file was created in a directory. + + + + FAMMoved (integer) + + A file was moved. + + + + FAMAcknowledge (integer) + + + An event in response to fam_cancel_monitor. + + + + + FAMExists (integer) + + + An event upon request to monitor a file or directory. When a + directory is monitored, an event for that directory and every file + contained in that directory is issued. + + + + + FAMEndExist (integer) + + Event after the last FAMEExists event. + + + +
+
+ + diff --git a/reference/fam/reference.xml b/reference/fam/reference.xml index 20b4cba031..ea4b950313 100644 --- a/reference/fam/reference.xml +++ b/reference/fam/reference.xml @@ -1,5 +1,5 @@ - + File Alteration Monitor Functions fam @@ -8,15 +8,16 @@
&reftitle.intro; - FAM monitors files and directories, notifying interested - applications of changes. + FAM monitors files and directories, notifying interested applications of + changes. More information about FAM is available at + &url.fam;. A PHP script may specify a list of files for FAM to monitor using the functions provided by this extension. - The FAM process is started when the first connection + The FAM process is started when the first connection from any application to it is opened. It exits after all connections to it have been closed. @@ -26,13 +27,9 @@
&reftitle.required; - This extension requires ... version ... as available on ... - -
- -
- &reftitle.install; - + This extension uses the functions of the + FAM library, devoloped by SGI. +
@@ -50,82 +47,8 @@
-
- &reftitle.constants; - &extension.constants; - - - FAM constants - - - - Constant - meaning - - - - - - FAMChanged (integer) - - - The status of - - - - - FAMDeleted (integer) - - - - - - FAMStartExecuting (integer) - - - - - - FAMStopExecuting (integer) - - - - - - FAMCreated (integer) - - - - - - FAMMoved (integer) - - - - - - FAMAcknowledge (integer) - - - - - - FAMExists (integer) - - - - - - FAMEndExist (integer) - - - - - -
-
-
- + &reference.fam.constants; + &reference.fam.functions;