derick          Fri Feb 16 07:56:36 2001 EDT

  Modified files:              
    /phpdoc/nl  Translators 
    /phpdoc/nl/functions        dir.xml 
  Log:
  - Translated the dir functions
  
  
Index: phpdoc/nl/Translators
diff -u phpdoc/nl/Translators:1.15 phpdoc/nl/Translators:1.16
--- phpdoc/nl/Translators:1.15  Tue Jan  2 14:14:24 2001
+++ phpdoc/nl/Translators       Fri Feb 16 07:56:35 2001
@@ -55,7 +55,7 @@
 dba.xml
 dbase.xml
 dbm.xml
-dir.xml                                                 
+dir.xml                     Derick          done
 dl.xml                                           
 domxml.xml                              
 exec.xml                                         
Index: phpdoc/nl/functions/dir.xml
diff -u phpdoc/nl/functions/dir.xml:1.1 phpdoc/nl/functions/dir.xml:1.2
--- phpdoc/nl/functions/dir.xml:1.1     Tue Oct 10 15:07:53 2000
+++ phpdoc/nl/functions/dir.xml Fri Feb 16 07:56:35 2001
@@ -1,14 +1,44 @@
  <reference id="ref.dir">
-  <title>Directory functions</title>
+  <title>Directory functies</title>
   <titleabbrev>Directories</titleabbrev>
 
+  <refentry id="function.chroot">
+   <refnamediv>
+    <refname>chroot</refname>
+    <refpurpose>verander de root directory</refpurpose>
+   </refnamediv>
+   <refsect1>
+    <title>Omschrijving</title>
+    <funcsynopsis>
+     <funcprototype>
+      <funcdef>int <function>chroot</function></funcdef>
+      <paramdef>string <parameter>directory</parameter></paramdef>
+     </funcprototype>
+    </funcsynopsis>
+    <para>
+     Verandert de root directory van het huidige proces naar de directory
+     gespecificeerd door <parameter>directory</parameter>. De functie
+     geeft FALSE terug als hij er niet in slaagd de root directory aan te
+     passen, als het goed gaat, geeft hij TRUE terug.
+    </para>
+    <note>
+     <para>
+      Het is niet verstandig om deze functie te gebruiken als PHP wordt
+      gebruikt in een webserver omgeving, dit omdat het niet mogelijk is
+      de root directory van een process later weer te resetten. De enige
+      plek waar deze functie nuttig is als PHP als CGI draait.
+     </para>
+    </note>
+   </refsect1>
+  </refentry>
+
   <refentry id="function.chdir">
    <refnamediv>
     <refname>chdir</refname>
-    <refpurpose>change directory</refpurpose>
+    <refpurpose>verander de werk directory</refpurpose>
    </refnamediv>
    <refsect1>
-    <title>Description</title>
+    <title>Omschrijving</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>int <function>chdir</function></funcdef>
@@ -16,9 +46,9 @@
      </funcprototype>
     </funcsynopsis>
     <para>
-     Changes PHP's current directory to
-     <parameter>directory</parameter>.  Returns FALSE if unable to
-     change directory, TRUE otherwise.
+     Veranderd de huidige directory van PHP naar
+     <parameter>directory</parameter>. Geeft FALSE terug als dit mislukt,
+     of TRUE als deze functie slaagt.
     </para>
    </refsect1>
   </refentry>
@@ -29,7 +59,7 @@
     <refpurpose>directory class</refpurpose>
    </refnamediv>
    <refsect1>
-    <title>Description</title>
+    <title>Omschrijving</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>new <function>dir</function></funcdef>
@@ -37,22 +67,22 @@
      </funcprototype>
     </funcsynopsis>
     <para>
-     A pseudo-object oriented mechanism for reading a directory.  The
-     given <parameter>directory</parameter> is opened.  Two properties
-     are available once directory has been opened.  The handle
-     property can be used with other directory functions such as
-     <function>readdir</function>, <function>rewinddir</function> and
-     <function>closedir</function>.  The path property is set to path
-     the directory that was opened.  Three methods are available:
+     Een pseudo-object oriented mechanisme voor het lezen van een directory.
+     De gegeven <parameter>directory</parameter> wordt geopend. Twee
+     eigenschappen zijn beschikbaar zodra de directory is geopend. De handle
+     property kan worden gebruikt om andere directory functies als
+     <function>readdir</function>, <function>rewinddir</function> en
+     <function>closedir</function> op los te laten. De path property
+     geeft de directory aan die is geopend. Drie methods zijn beschikbaar:
      read, rewind and close.
      <example>
-      <title><function>Dir</function> Example</title>
+      <title><function>Dir</function> Voorbeeld</title>
       <programlisting role="php">
 $d = dir("/etc");
-echo "Handle: ".$d->handle."&lt;br>\n";
-echo "Path: ".$d->path."&lt;br>\n";
-while($entry=$d->read()) {
-    echo $entry."&lt;br>\n";
+echo "Handle: ".$d-&gt;handle."&lt;br&gt;\n";
+echo "Path: ".$d-&gt;path."&lt;br&gt;\n";
+while($entry=$d-&gt;read()) {
+    echo $entry."&lt;br&gt;\n";
 }
 $d->close();
       </programlisting>
@@ -64,10 +94,10 @@
   <refentry id="function.closedir">
    <refnamediv>
     <refname>closedir</refname>
-    <refpurpose>close directory handle</refpurpose>
+    <refpurpose>sluit directory handle</refpurpose>
    </refnamediv>
    <refsect1>
-    <title>Description</title>
+    <title>Omschrijving</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>void <function>closedir</function></funcdef>
@@ -75,9 +105,9 @@
      </funcprototype>
     </funcsynopsis>
     <para>
-     Closes the directory stream indicated by
-     <parameter>dir_handle</parameter>. The stream must have previously
-     been opened by <function>opendir</function>.
+     Sluiten de directory stream aangegeven door
+     <parameter>dir_handle</parameter>. The stream moet zijn geopend
+     met de <function>opendir</function> functie.
     </para>
    </refsect1>
   </refentry>
@@ -85,10 +115,10 @@
   <refentry id="function.getcwd">
    <refnamediv>
     <refname>getcwd</refname>
-    <refpurpose>gets the current working directory</refpurpose>
+    <refpurpose>vraag de werk directory op</refpurpose>
    </refnamediv>
    <refsect1>
-    <title>Description</title>
+    <title>Omschrijving</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>string <function>getcwd</function></funcdef>
@@ -96,7 +126,7 @@
      </funcprototype>
     </funcsynopsis>
     <para>
-     Returns the current working directory.
+     Geeft de huidige werk directory terug.
     </para>
    </refsect1>
   </refentry>
@@ -104,10 +134,10 @@
   <refentry id="function.opendir">
    <refnamediv>
     <refname>opendir</refname>
-    <refpurpose>open directory handle</refpurpose>
+    <refpurpose>open een directory handle</refpurpose>
    </refnamediv>
    <refsect1>
-    <title>Description</title>
+    <title>Omschrijving</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>int <function>opendir</function></funcdef>
@@ -115,9 +145,10 @@
      </funcprototype>
     </funcsynopsis>
     <para> 
-     Returns a directory handle to be used in subsequent
-     <function>closedir</function>, <function>readdir</function>, and
-     <function>rewinddir</function> calls.
+     Geeft een directory handle terug die gebruikt kan worden met
+     aanroepen naar de
+     <function>closedir</function>, <function>readdir</function>, en
+     <function>rewinddir</function> functies.
     </para>
    </refsect1>
   </refentry>
@@ -125,10 +156,10 @@
   <refentry id="function.readdir">
    <refnamediv>
     <refname>readdir</refname>
-    <refpurpose>read entry from directory handle</refpurpose>
+    <refpurpose>lees een entry uit een directory handle</refpurpose>
    </refnamediv>
    <refsect1>
-    <title>Description</title>
+    <title>Omschrijving</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>string <function>readdir</function></funcdef>
@@ -136,16 +167,16 @@
      </funcprototype>
     </funcsynopsis>
     <para>
-     Returns the filename of the next file from the directory. The
-     filenames are not returned in any particular order.
+     Geeft de bestandsnaam van het volgende bestand in de directory. De
+     bestandsnamen worden in een willekeurige volgorde teruggegeven.
      <example>
-      <title>List all files in the current directory</title>
+      <title>Druk een lijst af van alle bestanden in de huidige directory</title>
       <programlisting role="php">
-// Note that !== did not exist until 4.0.0-RC2
+// Merk op dat !== niet bestond tot aan 4.0.0-RC2
 &lt;?php
 $handle=opendir('.');
 echo "Directory handle: $handle\n";
-echo "Files:\n";
+echo "Bestanden:\n";
 while (($file = readdir($handle))!==false) {
     echo "$file\n";
 }
@@ -155,12 +186,11 @@
      </example>
     </para>
     <para>
-     Note that <function>readdir</function> will return the . and
-     .. entries.  If you don't want these, simply strip them out:
+     Let erop dat <function>readdir</function> ook de . en .. bestanden
+     teruggeeft. Als je deze niet wilt, verwijder ze dan simpel:
      <example>
       <title>
-       List all files in the current directory and strip out . and
-       ..
+       Druk alle bestanden behalve . en .. af in de huidige directory.
       </title>
       <programlisting role="php">
 &lt;?php 
@@ -181,10 +211,10 @@
   <refentry id="function.rewinddir">
    <refnamediv>
     <refname>rewinddir</refname>
-    <refpurpose>rewind directory handle</refpurpose>
+    <refpurpose>reset de directory handle</refpurpose>
    </refnamediv>
    <refsect1>
-    <title>Description</title>
+    <title>Omschrijving</title>
     <funcsynopsis>
      <funcprototype>
       <funcdef>void <function>rewinddir</function></funcdef>
@@ -192,8 +222,8 @@
      </funcprototype>
     </funcsynopsis>
     <para>
-     Resets the directory stream indicated by
-     <parameter>dir_handle</parameter> to the beginning of the
+     Resets de directory stream aangegeven door
+     <parameter>dir_handle</parameter> naar het begin van de
      directory.
     </para>
 

Reply via email to