cvs: phpdoc-nl /reference/filesystem constants.xml ini.xml /reference/filesystem/functions diskfreespace.xml fgetcsv.xml fgets.xml file-exists.xml file-get-contents.xml file.xml fopen.xml fputs.xml fstat.xml glob.xml is-executable.xml is-readable.xml is-writeable.xml lstat.xml parse-ini-file.xml readfile.xml set-file-buffer.xml stat.xml unlink.xml
[email protected] ("Patric Stout")
| Newsgroups | php.doc.nl |
|---|---|
| Message-ID | <cvstruelight1054233619@cvsserver> |
truelight Thu May 29 14:40:19 2003 EDT
Modified files:
/phpdoc-nl/reference/filesystem constants.xml ini.xml
/phpdoc-nl/reference/filesystem/functions diskfreespace.xml
fgetcsv.xml fgets.xml
file-exists.xml
file-get-contents.xml
file.xml fopen.xml
fputs.xml fstat.xml
glob.xml
is-executable.xml
is-readable.xml
is-writeable.xml
lstat.xml
parse-ini-file.xml
readfile.xml
set-file-buffer.xml
stat.xml unlink.xml
Log:
Sync with EN
truelight-20030529144019.txt
(text/plain, 31.3 KB)
Index: phpdoc-nl/reference/filesystem/constants.xml
diff -u phpdoc-nl/reference/filesystem/constants.xml:1.1 phpdoc-nl/reference/filesystem/constants.xml:1.2
--- phpdoc-nl/reference/filesystem/constants.xml:1.1 Sat Mar 1 11:53:06 2003
+++ phpdoc-nl/reference/filesystem/constants.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- EN-Revision: 1.1 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.2 Maintainer: truelight Status: ready -->
<section id="filesystem.constants">
&reftitle.constants;
&extension.constants;
@@ -95,6 +95,50 @@
<varlistentry>
<term>
<constant>PATHINFO_EXTENSION</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>FILE_USE_INCLUDE_PATH</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>FILE_APPEND</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>FILE_IGNORE_NEW_LINES</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>FILE_SKIP_EMPTY_LINES</constant>
(<type>integer</type>)
</term>
<listitem>
Index: phpdoc-nl/reference/filesystem/ini.xml
diff -u phpdoc-nl/reference/filesystem/ini.xml:1.1 phpdoc-nl/reference/filesystem/ini.xml:1.2
--- phpdoc-nl/reference/filesystem/ini.xml:1.1 Fri Jan 3 14:15:57 2003
+++ phpdoc-nl/reference/filesystem/ini.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.2 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.4 Maintainer: truelight Status: ready -->
<section id="filesystem.configuration">
&reftitle.runtime;
&extension.runtime;
@@ -44,8 +44,10 @@
</tgroup>
</table>
</para>
+
+ &ini.descriptions.title;
+
<para>
- Hier is een korte uitleg van de configuratie opties.
<variablelist>
<varlistentry id="ini.allow-url-fopen">
<term>
Index: phpdoc-nl/reference/filesystem/functions/diskfreespace.xml
diff -u phpdoc-nl/reference/filesystem/functions/diskfreespace.xml:1.1 phpdoc-nl/reference/filesystem/functions/diskfreespace.xml:1.2
--- phpdoc-nl/reference/filesystem/functions/diskfreespace.xml:1.1 Tue Aug 13 07:31:17 2002
+++ phpdoc-nl/reference/filesystem/functions/diskfreespace.xml Thu May 29 14:40:19 2003
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.2 Maintainer: truelight Status: ready -->
-<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
+<!-- EN-Revision: 1.4 Maintainer: truelight Status: ready -->
<refentry id="function.diskfreespace">
<refnamediv>
<refname>diskfreespace</refname>
@@ -8,14 +7,9 @@
</refnamediv>
<refsect1>
<title>Beschrijving</title>
- <methodsynopsis>
- <type>float</type><methodname>diskfreespace</methodname>
- <methodparam><type>string</type><parameter>directory</parameter></methodparam>
- </methodsynopsis>
<para>
Dit is een alternatief voor
- <function>disk_free_space</function> dat ernstig afgekeurd is.
- Gebruik dus liever <function>disk_free_space</function>.
+ <function>disk_free_space</function>.
</para>
</refsect1>
</refentry>
@@ -39,4 +33,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
Index: phpdoc-nl/reference/filesystem/functions/fgetcsv.xml
diff -u phpdoc-nl/reference/filesystem/functions/fgetcsv.xml:1.3 phpdoc-nl/reference/filesystem/functions/fgetcsv.xml:1.4
--- phpdoc-nl/reference/filesystem/functions/fgetcsv.xml:1.3 Sat Jan 18 03:33:23 2003
+++ phpdoc-nl/reference/filesystem/functions/fgetcsv.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.7 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.8 Maintainer: truelight Status: ready -->
<refentry id="function.fgetcsv">
<refnamediv>
<refname>fgetcsv</refname>
@@ -19,10 +19,11 @@
<function>fgetcsv</function> de lijn die hij leest benoemt op
velden in <acronym>CSV</acronym> formaat en geeft een array
terug met de gelezen velden. De optionele derde <parameter>delimiter</parameter>
- parameter is standaard een komma. De optionele
- <parameter>enclosure</parameter> parameter mag niet <type>null</type>
- zijn en is gelimiteerd tot één teken. Als <parameter>enclosure</parameter>
- meer dan één teken groot is, dan wordt alleen het eerste teken gebruikt.
+ parameter is standaard een komma, en de optionele
+ <parameter>enclosure</parameter> parameter is standaard een dubbele aanhalingsteken.
+ Zowel <parameter>delimiter</parameter> als <parameter>enclosure</parameter>
+ is gelimiteerd tot één teken. Als er meer dan één teken wordt gebruikt,
+ wordt alleen het eerste teken gebruikt.
</simpara>
<note>
<simpara>
Index: phpdoc-nl/reference/filesystem/functions/fgets.xml
diff -u phpdoc-nl/reference/filesystem/functions/fgets.xml:1.3 phpdoc-nl/reference/filesystem/functions/fgets.xml:1.4
--- phpdoc-nl/reference/filesystem/functions/fgets.xml:1.3 Sat Jan 18 03:33:23 2003
+++ phpdoc-nl/reference/filesystem/functions/fgets.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.7 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.8 Maintainer: truelight Status: ready -->
<refentry id="function.fgets">
<refnamediv>
<refname>fgets</refname>
@@ -70,10 +70,11 @@
</note>
¬e.line-endings;
<para>
- Zie ook <function>fread</function>, <function>fopen</function>,
- <function>popen</function>, <function>fgetc</function>,
- <function>fsockopen</function>, en
- <function>socket_set_timeout</function>.
+ Zie ook <function>fread</function>,
+ <function>fgetc</function>,
+ <function>stream_get_line</function>,
+ <function>fopen</function>,
+ <function>popen</function>,
</para>
</refsect1>
</refentry>
Index: phpdoc-nl/reference/filesystem/functions/file-exists.xml
diff -u phpdoc-nl/reference/filesystem/functions/file-exists.xml:1.3 phpdoc-nl/reference/filesystem/functions/file-exists.xml:1.4
--- phpdoc-nl/reference/filesystem/functions/file-exists.xml:1.3 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/file-exists.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.7 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.9 Maintainer: truelight Status: ready -->
<refentry id="function.file-exists">
<refnamediv>
<refname>file_exists</refname>
@@ -20,7 +20,7 @@
<para>
Op windows, gebruik
<filename>//computername/share/filename</filename> of
- <filename>\\\\computername\share\filename</filename> om
+ <filename>\\computername\share\filename</filename> om
bestanden op gedeelde netwerkmappen te controleren.
</para>
</note>
Index: phpdoc-nl/reference/filesystem/functions/file-get-contents.xml
diff -u phpdoc-nl/reference/filesystem/functions/file-get-contents.xml:1.2 phpdoc-nl/reference/filesystem/functions/file-get-contents.xml:1.3
--- phpdoc-nl/reference/filesystem/functions/file-get-contents.xml:1.2 Tue Jan 7 14:02:30 2003
+++ phpdoc-nl/reference/filesystem/functions/file-get-contents.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.6 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.8 Maintainer: truelight Status: ready -->
<refentry id="function.file-get-contents">
<refnamediv>
<refname>file_get_contents</refname>
@@ -11,6 +11,7 @@
<type>string</type><methodname>file_get_contents</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam>
+ <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
Hetzelfde als <function>file</function>, behalve dat
@@ -18,6 +19,11 @@
</para>
¬e.bin-safe;
&tip.fopen-wrapper;
+ <note>
+ <simpara>
+ Context support was added with <literal>PHP 5.0.0</literal>
+ </simpara>
+ </note>
<simpara>
Zie ook: <function>fgets</function>, <function>file</function>,
<function>fread</function>, <function>include</function>,
Index: phpdoc-nl/reference/filesystem/functions/file.xml
diff -u phpdoc-nl/reference/filesystem/functions/file.xml:1.3 phpdoc-nl/reference/filesystem/functions/file.xml:1.4
--- phpdoc-nl/reference/filesystem/functions/file.xml:1.3 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/file.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.7 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.9 Maintainer: truelight Status: ready -->
<refentry id="function.file">
<refnamediv>
<refname>file</refname>
@@ -11,6 +11,7 @@
<type>array</type><methodname>file</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam>
+ <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
Hetzelfde als <function>readfile</function>, behalve dat
@@ -62,6 +63,11 @@
</note>
¬e.not-bin-safe;
&tip.fopen-wrapper;
+ <note>
+ <simpara>
+ Context support was added with <literal>PHP 5.0.0</literal>
+ </simpara>
+ </note>
<para>
Zie ook <function>readfile</function>,
<function>fopen</function>, <function>fsockopen</function>,
Index: phpdoc-nl/reference/filesystem/functions/fopen.xml
diff -u phpdoc-nl/reference/filesystem/functions/fopen.xml:1.4 phpdoc-nl/reference/filesystem/functions/fopen.xml:1.5
--- phpdoc-nl/reference/filesystem/functions/fopen.xml:1.4 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/fopen.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.10 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.13 Maintainer: truelight Status: ready -->
<refentry id="function.fopen">
<refnamediv>
<refname>fopen</refname>
@@ -45,6 +45,13 @@
<note>
<simpara>
De lijst met ondersteunde protocols kan gevonden worden op <xref linkend="wrappers"/>.
+ Sommige protocols ondersteunen
+ <literal>context</literal> en/of &php.ini; opties.
+ Kijk bij de handleiding van het protocol voor een lijst met opties die
+ aangegeven kan worden. (bijvoorbeeld wordt de &php.ini; waarde
+ <literal>user_agent</literal> gebruikt bij de <literal>http</literal> wrapper)
+ Voor een beschrijving van <literal>contexts</literal> en de
+ <parameter>zcontext</parameter> parameter, kijk op <xref linkend="ref.stream"/>.
</simpara>
</note>
@@ -115,21 +122,31 @@
</para>
<note>
<para>
- De <parameter>mode</parameter> mag de letter 'b' bevatten.
- Dit is alleen handig op systemen die verschil zien tussen
- binaire en tekst bestand (bijvoorbeeld Windows. Op Unix is het zinloos).
- Als het niet nodig is, wordt het genegeerd. Je wordt aangemoedigd om
- de 'b' vlag toe te voegen om je script zo compatible mogelijk te houden.
+ Op systemen die verschil maken tussen binair ('b') en tekst ('t') mode
+ vertaling (zoals Windows), kan je achter de <parameter>mode</parameter>
+ of de letter 'b' of de letter 't' neerzetten om de vertalings mode respectievelijk
+ op binair of op tekst te zetten.
+ </para>
+ <para>
+ De standaard vertalings mode hangt af van de SAPI die je gebruikt,
+ dus we moedigen je aan om altijd de vertalings mode aan te geven. Meestal
+ zal dat de 'b' zijn, als je je script compatible over verschillende besturingssystemen
+ wilt houden.
+ </para>
+ <para>
+ Als je niet de 'b' mode opgeeft als je werkt met binaire bestanden,
+ dan kan je raar gedrag verwachten met je data, waaronder niet werkende
+ afbeeldingsbestanden en rare problemen met <literal>\r\n</literal> tekens.
+ </para>
+ <para>
+ <emphasis>Het wordt sterk geadviseerd dat je altijd de 'b' mode gebruikt
+ als je bestanden opent met <function>fopen</function></emphasis>.
</para>
</note>
<para>
De optionele derde <parameter>use_include_path</parameter> parameter
kan op '1' of &true; gezet worden; voor als je ook wilt zoeken voor het bestand in
<link linkend="ini.include-path">include_path</link>.
- </para>
- <para>
- De optionele vierde <parameter>zcontext</parameter> parameter
- is gebruikt voor gespecifiseerde afstemmings parameters en aanroepen.
</para>
<simpara>
Als het openen faalt, dan geeft de functie &false; terug.
Index: phpdoc-nl/reference/filesystem/functions/fputs.xml
diff -u phpdoc-nl/reference/filesystem/functions/fputs.xml:1.2 phpdoc-nl/reference/filesystem/functions/fputs.xml:1.3
--- phpdoc-nl/reference/filesystem/functions/fputs.xml:1.2 Sat Jan 18 03:33:23 2003
+++ phpdoc-nl/reference/filesystem/functions/fputs.xml Thu May 29 14:40:19 2003
@@ -1,23 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.4 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.5 Maintainer: truelight Status: ready -->
<refentry id="function.fputs">
<refnamediv>
<refname>fputs</refname>
- <refpurpose>Schrijft naar een bestands pointer</refpurpose>
+ <refpurpose>Alternatief voor <function>fwrite</function></refpurpose>
</refnamediv>
<refsect1>
<title>Beschrijving</title>
- <methodsynopsis>
- <type>int</type><methodname>fputs</methodname>
- <methodparam><type>resource</type><parameter>handle</parameter></methodparam>
- <methodparam><type>string</type><parameter>str</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
- </methodsynopsis>
<para>
- <function>fputs</function> is een alternatief van
- <function>fwrite</function>, en is hetzelfde op elk punt.
- Bedenk je dat de <parameter>length</parameter> paramater optioneel is
- en als die niet opgegeven is, wordt de hele string geschreven.
+ Deze functie is een alternatief voor
+ <function>fwrite</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc-nl/reference/filesystem/functions/fstat.xml
diff -u phpdoc-nl/reference/filesystem/functions/fstat.xml:1.3 phpdoc-nl/reference/filesystem/functions/fstat.xml:1.4
--- phpdoc-nl/reference/filesystem/functions/fstat.xml:1.3 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/fstat.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.6 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.7 Maintainer: truelight Status: ready -->
<refentry id="function.fstat">
<refnamediv>
<refname>fstat</refname>
@@ -19,24 +19,9 @@
een bestandsnaam.
</para>
<para>
- Geeft een array met statestieken over het bestand terug met
- de volgende elementen:
- <orderedlist>
- <listitem><simpara>device</simpara></listitem>
- <listitem><simpara>inode</simpara></listitem>
- <listitem><simpara>number of links</simpara></listitem>
- <listitem><simpara>user id of owner</simpara></listitem>
- <listitem><simpara>group id owner</simpara></listitem>
- <listitem><simpara>device type if inode device *</simpara></listitem>
- <listitem><simpara>size in bytes</simpara></listitem>
- <listitem><simpara>time of last access</simpara></listitem>
- <listitem><simpara>time of last modification</simpara></listitem>
- <listitem><simpara>time of last change</simpara></listitem>
- <listitem><simpara>blocksize for filesystem I/O *</simpara></listitem>
- <listitem><simpara>number of blocks allocated</simpara></listitem>
- </orderedlist>
- * - alleen geldig op systemen die st_blksize type ondersteunen--
- andere systemen (bijvoorbeeld Windows) geven -1 terug
+ Geeft een array met statestieken over het bestand; het formaat
+ van de array staat in detail beschreven in de handleiding van
+ <function>stat</function>.
</para>
¬e.clearstatcache;
Index: phpdoc-nl/reference/filesystem/functions/glob.xml
diff -u phpdoc-nl/reference/filesystem/functions/glob.xml:1.3 phpdoc-nl/reference/filesystem/functions/glob.xml:1.4
--- phpdoc-nl/reference/filesystem/functions/glob.xml:1.3 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/glob.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.7 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.8 Maintainer: truelight Status: ready -->
<refentry id="function.glob">
<refnamediv>
<refname>glob</refname>
@@ -56,6 +56,11 @@
</listitem>
</itemizedlist>
</para>
+ <note>
+ <simpara>
+ <constant>GLOB_ONLYDIR</constant> is not available on Windows.
+ </simpara>
+ </note>
<para>
<example>
<title>
Index: phpdoc-nl/reference/filesystem/functions/is-executable.xml
diff -u phpdoc-nl/reference/filesystem/functions/is-executable.xml:1.3 phpdoc-nl/reference/filesystem/functions/is-executable.xml:1.4
--- phpdoc-nl/reference/filesystem/functions/is-executable.xml:1.3 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/is-executable.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.6 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.7 Maintainer: truelight Status: ready -->
<refentry id="function.is-executable">
<refnamediv>
<refname>is_executable</refname>
@@ -15,7 +15,10 @@
Geeft &true; terug als de bestandsnaam bestaat en een executable is.
</para>
- ¬e.no-windows;
+ <para>
+ <function>is_executable</function> became available with Windows in PHP
+ version 5.0.0.
+ </para>
¬e.clearstatcache;
Index: phpdoc-nl/reference/filesystem/functions/is-readable.xml
diff -u phpdoc-nl/reference/filesystem/functions/is-readable.xml:1.2 phpdoc-nl/reference/filesystem/functions/is-readable.xml:1.3
--- phpdoc-nl/reference/filesystem/functions/is-readable.xml:1.2 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/is-readable.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.3 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.4 Maintainer: truelight Status: ready -->
<refentry id="function.is-readable">
<refnamediv>
<refname>is_readable</refname>
Index: phpdoc-nl/reference/filesystem/functions/is-writeable.xml
diff -u phpdoc-nl/reference/filesystem/functions/is-writeable.xml:1.1 phpdoc-nl/reference/filesystem/functions/is-writeable.xml:1.2
--- phpdoc-nl/reference/filesystem/functions/is-writeable.xml:1.1 Tue Aug 13 07:31:16 2002
+++ phpdoc-nl/reference/filesystem/functions/is-writeable.xml Thu May 29 14:40:19 2003
@@ -1,17 +1,12 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.2 Maintainer: truelight Status: ready -->
-<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.55 -->
+<!-- EN-Revision: 1.3 Maintainer: truelight Status: ready -->
<refentry id="function.is-writeable">
<refnamediv>
<refname>is_writeable</refname>
- <refpurpose>Zegt of een bestandsnaam schrijfbaar is</refpurpose>
+ <refpurpose>Alternatief voor <function>is_writable</function></refpurpose>
</refnamediv>
<refsect1>
<title>Beschrijving</title>
- <methodsynopsis>
- <type>bool</type><methodname>is_writeable</methodname>
- <methodparam><type>string</type><parameter>filename</parameter></methodparam>
- </methodsynopsis>
<para>
Dit is een alternatief voor <function>is_writable</function>.
</para>
@@ -37,4 +32,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
Index: phpdoc-nl/reference/filesystem/functions/lstat.xml
diff -u phpdoc-nl/reference/filesystem/functions/lstat.xml:1.2 phpdoc-nl/reference/filesystem/functions/lstat.xml:1.3
--- phpdoc-nl/reference/filesystem/functions/lstat.xml:1.2 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/lstat.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.3 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.5 Maintainer: truelight Status: ready -->
<refentry id="function.lstat">
<refnamediv>
<refname>lstat</refname>
@@ -19,25 +19,9 @@
niet de status van het bestand waar de symbolic link naar verwijst.
</para>
<para>
- Geeft een array met gegevens terug over het bestand met de volgende
- elementen:
- <orderedlist>
- <listitem><simpara>device</simpara></listitem>
- <listitem><simpara>inode</simpara></listitem>
- <listitem><simpara>inode protection mode</simpara></listitem>
- <listitem><simpara>number of links</simpara></listitem>
- <listitem><simpara>user id of owner</simpara></listitem>
- <listitem><simpara>group id owner</simpara></listitem>
- <listitem><simpara>device type if inode device *</simpara></listitem>
- <listitem><simpara>size in bytes</simpara></listitem>
- <listitem><simpara>time of last access</simpara></listitem>
- <listitem><simpara>time of last modification</simpara></listitem>
- <listitem><simpara>time of last change</simpara></listitem>
- <listitem><simpara>blocksize for filesystem I/O *</simpara></listitem>
- <listitem><simpara>number of blocks allocated</simpara></listitem>
- </orderedlist>
- * - alleen geldig op systemen die st_blksize type ondersteunen--
- andere systemen (bijvoorbeeld Windows) geven -1 terug
+ Zie de handleiding van <function>stat</function> voor informatie
+ over de structuur van de array die <function>lstat</function>
+ terug geeft.
</para>
¬e.clearstatcache;
Index: phpdoc-nl/reference/filesystem/functions/parse-ini-file.xml
diff -u phpdoc-nl/reference/filesystem/functions/parse-ini-file.xml:1.4 phpdoc-nl/reference/filesystem/functions/parse-ini-file.xml:1.5
--- phpdoc-nl/reference/filesystem/functions/parse-ini-file.xml:1.4 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/parse-ini-file.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.11 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.12 Maintainer: truelight Status: ready -->
<refentry id="function.parse-ini-file">
<refnamediv>
<refname>parse_ini_file</refname>
@@ -37,6 +37,12 @@
Vanaf PHP 4.2.1 wordt ook deze functie beïnvloed door
&safemode; en <link
linkend="ini.open-basedir">open_basedir</link>.
+ </simpara>
+ </note>
+ <note>
+ <simpara>
+ Er zijn gereserveerde woorden die niet gebruikt moeten worden
+ als keys in ini files. Onder deze vallen: yes, no, true en false.
</simpara>
</note>
<para>
Index: phpdoc-nl/reference/filesystem/functions/readfile.xml
diff -u phpdoc-nl/reference/filesystem/functions/readfile.xml:1.3 phpdoc-nl/reference/filesystem/functions/readfile.xml:1.4
--- phpdoc-nl/reference/filesystem/functions/readfile.xml:1.3 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/readfile.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.4 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.5 Maintainer: truelight Status: ready -->
<refentry id="function.readfile">
<refnamediv>
<refname>readfile</refname>
@@ -11,6 +11,7 @@
<type>int</type><methodname>readfile</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter></methodparam>
+ <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
Leest een bestand en schrijft het naar de output buffer.
Index: phpdoc-nl/reference/filesystem/functions/set-file-buffer.xml
diff -u phpdoc-nl/reference/filesystem/functions/set-file-buffer.xml:1.3 phpdoc-nl/reference/filesystem/functions/set-file-buffer.xml:1.4
--- phpdoc-nl/reference/filesystem/functions/set-file-buffer.xml:1.3 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/set-file-buffer.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.4 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.5 Maintainer: truelight Status: ready -->
<refentry id="function.set-file-buffer">
<refnamediv>
<refname>set_file_buffer</refname>
@@ -8,7 +8,7 @@
<refsect1>
<title>Beschrijving</title>
<simpara>
- Deze functie is een &alias; voor
+ Deze functie is een alias voor
<function>stream_set_write_buffer</function>.
</simpara>
</refsect1>
Index: phpdoc-nl/reference/filesystem/functions/stat.xml
diff -u phpdoc-nl/reference/filesystem/functions/stat.xml:1.2 phpdoc-nl/reference/filesystem/functions/stat.xml:1.3
--- phpdoc-nl/reference/filesystem/functions/stat.xml:1.2 Sat Mar 1 11:51:55 2003
+++ phpdoc-nl/reference/filesystem/functions/stat.xml Thu May 29 14:40:19 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.3 Maintainer: truelight Status: ready -->
+<!-- EN-Revision: 1.7 Maintainer: truelight Status: ready -->
<refentry id="function.stat">
<refnamediv>
<refname>stat</refname>
@@ -19,23 +19,97 @@
behalve dat het de informatie van de symlink zal pakken.
</para>
<para>
+ Als er een fout optreed, geeft <function>stat</function> &false; terug.
+ Het geeft ook een waarschuwing.
+ </para>
+ <para>
Geeft een array terug met informatie over het bestand, met
- de volgende elementen:
- <orderedlist>
- <listitem><simpara>device</simpara></listitem>
- <listitem><simpara>inode</simpara></listitem>
- <listitem><simpara>inode protection mode</simpara></listitem>
- <listitem><simpara>number of links</simpara></listitem>
- <listitem><simpara>user id of owner</simpara></listitem>
- <listitem><simpara>group id owner</simpara></listitem>
- <listitem><simpara>device type if inode device *</simpara></listitem>
- <listitem><simpara>size in bytes</simpara></listitem>
- <listitem><simpara>time of last access</simpara></listitem>
- <listitem><simpara>time of last modification</simpara></listitem>
- <listitem><simpara>time of last change</simpara></listitem>
- <listitem><simpara>blocksize for filesystem I/O *</simpara></listitem>
- <listitem><simpara>number of blocks allocated</simpara></listitem>
- </orderedlist>
+ de volgende elementen. De array is op nul-basis. Naast
+ dat de attributen op een numerieke manier opgevraagd kunnen worden,
+ kunnen ze ook opgevraagd worden met hun corresponderende indexen, zoals
+ aangegeven naast elke parameter; dit is mogelijk sinds PHP 4.0.6:
+ <table>
+ <title><function>stat</function> en <function>fstat</function> resultaat
+ formaat</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Numeriek</entry>
+ <entry>Bijhoorende naam (sinds PHP 4.0.6)</entry>
+ <entry>Beschrijving</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>0</entry>
+ <entry>dev</entry>
+ <entry>device nummer</entry>
+ </row>
+ <row>
+ <entry>1</entry>
+ <entry>ino</entry>
+ <entry>inode nummer</entry>
+ </row>
+ <row>
+ <entry>2</entry>
+ <entry>mode</entry>
+ <entry>inode protection mode</entry>
+ </row>
+ <row>
+ <entry>3</entry>
+ <entry>nlink</entry>
+ <entry>het aantal links</entry>
+ </row>
+ <row>
+ <entry>4</entry>
+ <entry>uid</entry>
+ <entry>userid van de eigenaar</entry>
+ </row>
+ <row>
+ <entry>5</entry>
+ <entry>gid</entry>
+ <entry>groupid van de eigenaar</entry>
+ </row>
+ <row>
+ <entry>6</entry>
+ <entry>rdev</entry>
+ <entry>device type, als het een inode device is *</entry>
+ </row>
+ <row>
+ <entry>7</entry>
+ <entry>size</entry>
+ <entry>grootte in bytes</entry>
+ </row>
+ <row>
+ <entry>8</entry>
+ <entry>atime</entry>
+ <entry>laatste toegangsdatum (unix timestamp)</entry>
+ </row>
+ <row>
+ <entry>9</entry>
+ <entry>mtime</entry>
+ <entry>laatste wijzigingsdatum (unix timestamp)</entry>
+ </row>
+ <row>
+ <entry>10</entry>
+ <entry>ctime</entry>
+ <entry>laatste aanpassingsdatum (unix timestamp)</entry>
+ </row>
+ <row>
+ <entry>11</entry>
+ <entry>blksize</entry>
+ <entry>blockgrootte van het bestandssysteem IO *</entry>
+ </row>
+ <row>
+ <entry>12</entry>
+ <entry>blocks</entry>
+ <entry>aantal blocks toegewezen</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
* - alleen geldig op systemen die st_blksize type ondersteunen--
andere systemen (bijvoorbeeld Windows) geven -1 terug
</para>
@@ -46,6 +120,7 @@
<para>
Zie ook <function>lstat</function>,
+ <function>fstat</function>,
<function>filemtime</function> en
<function>filegroup</function>.
</para>
Index: phpdoc-nl/reference/filesystem/functions/unlink.xml
diff -u phpdoc-nl/reference/filesystem/functions/unlink.xml:1.1 phpdoc-nl/reference/filesystem/functions/unlink.xml:1.2
--- phpdoc-nl/reference/filesystem/functions/unlink.xml:1.1 Tue Aug 13 07:31:16 2002
+++ phpdoc-nl/reference/filesystem/functions/unlink.xml Thu May 29 14:40:19 2003
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.2 Maintainer: truelight Status: ready -->
-<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
+<!-- EN-Revision: 1.3 Maintainer: truelight Status: ready -->
<refentry id="function.unlink">
<refnamediv>
<refname>unlink</refname>
@@ -19,6 +18,13 @@
<para>
&return.success;
</para>
+ <note>
+ <simpara>
+ Vanaf <literal>PHP 5.0.0</literal> kan <function>unlink</function> ook gebruikt
+ worden met <emphasis>sommige</emphasis> url wrappers. Kijk op <xref linkend="wrappers"/>
+ voor een lijst met welke wrappers <function>unlink</function> ondersteunen.
+ </simpara>
+ </note>
<para>
Zie ook <function>rmdir</function> om folders te verwijderen.
</para>
@@ -44,4 +50,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->