cvs: phpdoc /nl Translators /nl/chapters security.xml /nl/language control-structures.xml oop.xml references.xml
| From: | Derick Rethans | Date: | Fri, 10 Nov 2000 19:34:47 +0000 |
| Subject: | cvs: phpdoc /nl Translators /nl/chapters security.xml /nl/language control-structures.xml oop.xml references.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969332864@lists.php.net to get a copy of this message | ||
derick Fri Nov 10 11:34:47 2000 EDT
Modified files:
/phpdoc/nl Translators
/phpdoc/nl/chapters security.xml
/phpdoc/nl/language control-structures.xml oop.xml references.xml
Log:
- Typo's, more translation and update of Translators
Index: phpdoc/nl/Translators diff -u phpdoc/nl/Translators:1.10 phpdoc/nl/Translators:1.11 --- phpdoc/nl/Translators:1.10 Tue Nov 7 14:13:11 2000 +++ phpdoc/nl/Translators Fri Nov 10 11:34:46 2000 @@ -35,10 +35,10 @@ connection-handling.xml Mathieu done cookies.xml Mathieu done error-handling.xml Mathieu done -file-upload.xml +file-upload.xml Mathieu done http-auth.xml Mathieu done images.xml Mathieu done -persistent-connections.xml Mathieu done +persistent-connections.xml Mathieu done remote-files.xml Mathieu done ------- functions ----------------------------------------------------------- apache.xml Derick done @@ -117,8 +117,9 @@ control-structures.xml Derick started expressions.xml functions.xml -oop.xml Derick started +oop.xml Derick done operators.xml +references.xml Derick started types.xml variables.xml ---------------------------------------------------------------------------- Index: phpdoc/nl/chapters/security.xml diff -u phpdoc/nl/chapters/security.xml:1.7 phpdoc/nl/chapters/security.xml:1.8 --- phpdoc/nl/chapters/security.xml:1.7 Fri Nov 10 07:47:13 2000 +++ phpdoc/nl/chapters/security.xml Fri Nov 10 11:34:47 2000 @@ -348,7 +348,7 @@ // de PHP gebruiker toegang tot heeft. Als PHP root rechten heeft: $gebruiker = "../etc/"; $homedir = "/home/../etc/"; -$te_verijwderen_bestand = "passwd"; +$te_verwijderen_bestand = "passwd"; unlink ("/home/../etc/passwd"); echo "/home/../etc/passwd" is verwijderd!"; ?> Index: phpdoc/nl/language/control-structures.xml diff -u phpdoc/nl/language/control-structures.xml:1.6 phpdoc/nl/language/control-structures.xml:1.7 --- phpdoc/nl/language/control-structures.xml:1.6 Tue Nov 7 14:46:14 2000 +++ phpdoc/nl/language/control-structures.xml Fri Nov 10 11:34:47 2000 @@ -797,43 +797,46 @@ <sect1 id="function.require"> <title><function>require</function></title> <simpara> - The <function>require</function> statement replaces itself with - the specified file, much like the C preprocessor's - <literal>#include</literal> works. + Het <function>require</function> statement vervangt zichzelf met + de gespecificeerde file, bijna gelijk als de C preprocessor's + <literal>#include</literal> werkt. </simpara> <simpara> - If "URL fopen wrappers" are enabled in PHP (which they are in the - default configuration), you can specify the file to be - <function>require</function>ed using an URL instead of a local - pathname. See <link linkend="features.remote-files">Remote - files</link> and <function>fopen</function> for more information. + Als "URL fopen wrappers" zijn enabled in PHP (dit zijn + ze in de default distributie) dan kun je met + <function>require</function> ook een URL gebruiken in plaats van + een lokaal bestand. Zie <link linkend="features.remote-files">Remote + files</link> en <function>fopen</function> voor meer informatie. </simpara> <simpara> - An important note about how this works is that when a file is - <function>include</function>ed or <function>require</function>ed, - parsing drops out of PHP mode and into HTML mode at the beginning - of the target file, and resumes PHP mode again at the end. For - this reason, any code inside the target file which should be - executed as PHP code must be enclosed within <link - linkend="language.basic-syntax.phpmode">valid PHP start and end + Het is belangrijk om te weten dat wanneer er een bestand wordt + ge<function>include</function>ed of ge<function>require</function>ed, + de parser uit PHP komt en naar HTML mode gaat voordat het bestand + wordt toegevoegd, en weer start met de PHP mode aan het einde van + het bestand. Om deze reden moet alle code in het bestand dat als + PHP code moet worden geïnterpreteerd moet worden omvat + met <link + linkend="language.basic-syntax.phpmode">geldige PHP start en end tags</link>. </simpara> <simpara> - <function>require</function> is not actually a function in PHP; - rather, it is a language construct. It is subject to some - different rules than functions are. For instance, - <function>require</function> is not subject to any containing - control structures. For another, it does not return any value; - attempting to read a return value from a - <function>require</function> call results in a parse error. + <function>require</function> is eigenlijk geen functie in PHP; + maar het is een taal constructie. Er gelden andere dingen + voor constructies dan voor functies. Bijvoorbeeld is het + niet mogelijk om <function>require</function> een return + waarde mee te geven. Als je toch probeert een return waarde + te lezen uit een <function>require</function> aanroep, krijg + je een parse error. </simpara> <simpara> - Unlike <function>include</function>, <function>require</function> - will <emphasis>always</emphasis> read in the target file, - <emphasis>even if the line it's on never executes</emphasis>. If - you want to conditionally include a file, use - <function>include</function>. The conditional statement won't - affect the <function>require</function>. However, if the line on + In tegenstelling tot <function>include</function> leest + <function>require</function> <emphasis>altijd</emphasis> + het bestand in, <emphasis>zelfs als de regel waarop de require + call staat nooit wordt uitgevoerd.</emphasis>. Als je een + bestand conditioneel wilt laden, gebruik dan de + <function>include</function> functie. + Een conditional statement heeft geen invloed op een + <function>require</function>. However, if the line on which the <function>require</function> occurs is not executed, neither will any of the code in the target file be executed. </simpara> Index: phpdoc/nl/language/oop.xml diff -u phpdoc/nl/language/oop.xml:1.2 phpdoc/nl/language/oop.xml:1.3 --- phpdoc/nl/language/oop.xml:1.2 Tue Nov 7 14:13:12 2000 +++ phpdoc/nl/language/oop.xml Fri Nov 10 11:34:47 2000 @@ -87,56 +87,58 @@ </informalexample> <para> - Deze code defineerd een class Named_Cart dat alle variabelen en - functies van de Cart plus an additional variable $owner and an - additional function set_owner(). You create a named cart the usual - way and can now set and get the carts owner. You can still use - normal cart functions on named carts: + Deze code defineert een class Named_Cart dat alle variabelen en + functies van de Cart plus een nieuwe variable $owner en een nieuwe + functie set_owner(). Deze classe is te gebruiken als de gewone + Cart, maar er kan nu ook de eigenaar worden opgevraagd en geset. </para> <informalexample> <programlisting role="php"> -$ncart = new Named_Cart; // Create a named cart -$ncart->set_owner ("kris"); // Name that cart -print $ncart->owner; // print the cart owners name -$ncart->add_item ("10", 1); // (inherited functionality from cart) +$ncart = new Named_Cart; // Creeër de classe +$ncart->set_owner ("piet"); // Zet de eigenaar van de cart +print $ncart->owner; // Druk de naam van de eigenaar af +$ncart->add_item ("10", 1); // (inherited functie van Cart) </programlisting> </informalexample> <para> - Within functions of a class the variable $this means this - object. You have to use $this->something to access any variable or - function named something within your current object. + Binnen functies van de class heeft de variable $this een speciale + betekenis, namelijk die van het huidige object. Je moet iets als + $this->something gebruiken om de variabelen en functies binnen + het huidige object aan te spreken. </para> <para> - Constructors are functions in a class that are automatically - called when you create a new instance of a class. A function - becomes a constructor when it has the same name as the class. + Constructors zijn functies in een class die automatisch worden + aangeroepen wanneer er een nieuwe instantie wordt gemaakt met de + new operator. Een functie is een constructor als het dezelfde naam + heeft als de naam van de class. </para> <informalexample> <programlisting role="php"> class Auto_Cart extends Cart { function Auto_Cart () { - $this->add_item ("10", 1); + $this->add_item ("10", 1); } } </programlisting> </informalexample> <para> - This defines a class Auto_Cart that is a Cart plus a constructor - which initializes the cart with one item of article number "10" - each time a new Auto_Cart is being made with "new". Constructors - can also take arguments and these arguments can be optional, which - makes them much more useful. + Dit defineerd een class Auto_Cart die een Cart class is met een extra + constructor, die de Cart initialiseerd met één item met + artikel nummer "10" bij elke keer dat een classe wordt + geinstantieerd met de "new" operator. Contructors + kunnen ook argumenten hebben, en zelfs ook optionele argumenten. Dit + maakt constructoren zelfs nog handiger. </para> <informalexample> <programlisting role="php"> class Constructor_Cart extends Cart { function Constructor_Cart ($item = "10", $num = 1) { - $this->add_item ($item, $num); + $this->add_item ($item, $num); } } @@ -152,9 +154,9 @@ <caution> <simpara> - For derived classes, the constructor of the parent class is not - automatically called when the derived class's constructor is - called. + Voor afgeleide classes wordt de constructor van de case class niet + automatisch aangeroepen als de constructor van de afgeleidde class + wordt aangeroepen. </simpara> </caution> </sect1> Index: phpdoc/nl/language/references.xml diff -u phpdoc/nl/language/references.xml:1.1 phpdoc/nl/language/references.xml:1.2 --- phpdoc/nl/language/references.xml:1.1 Tue Oct 10 15:07:54 2000 +++ phpdoc/nl/language/references.xml Fri Nov 10 11:34:47 2000 @@ -1,39 +1,40 @@ <chapter id="language.references"> - <title>References Explained</title> + <title>References uitgelegd</title> <sect1 id="language.references.whatare"> <title>What References Are</title> <simpara> - References in PHP are means to call same variable content with - different names. They are not like C pointers, they are symbol - table aliases. Note that in PHP, variable names and variable - content are different, so same content can have different - names. The most close analogy is Unix filenames and files - - variable names are directory entries, while variable contents is - the file itself. References can be thought of as hardlinking in - Unix filesystem. + References in PHP geven de mogelijkheid om dezelfde variable + verschillende namen te geven. Ze zijn niet gelijk aan pointers + in C, maar het zijn aliases in de symbol table van PHP. In + PHP zijn variabele namen en variabele inhoud erg verschillend, + daarom kan de zelfde content verschillende namen hebben. Een + goed lijkend voorbeeld zijn Unix filenames and file - + variabelenamen zijn directory entries, en variabelen zijn de + file waarnaar de entry verwijst. References kom in dit voorbeeld + dan overeen met hardlinks. </simpara> </sect1> <sect1 id="language.references.whatdo"> - <title>What References Do</title> + <title>Wat References doen</title> <para> - PHP references allow you to make two variables to refer to the - same content. Meaning, when you do: + PHP references namek het mogelijk om twee variabelen naar dezelfde + inhoud te laten wijzen, bijvoorbeeld als je doet: <informalexample> <programlisting role="php"> $a =& $b </programlisting> </informalexample> - it means that <varname>$a</varname> and <varname>$b</varname> - point to the same variable. + dan wijzen <varname>$a</varname> en <varname>$b</varname> + naar exact dezelfde variabele. <note> <para> - <varname>$a</varname> and <varname>$b</varname> are completely - equal here, that's not <varname>$a</varname> is pointing to - <varname>$b</varname> or vice versa, that's - <varname>$a</varname> and <varname>$b</varname> pointing to the - same place. + <varname>$a</varname> en <varname>$b</varname> zijn helemaal + gelijk hier, het is niet dat <varname>$a</varname> naar + <varname>$b</varname> wijst of andersom, maar + <varname>$a</varname> and <varname>$b</varname> wijzen naar + dezelde inhoud. </para> </note> </para>
Index: phpdoc/nl/Translators diff -u phpdoc/nl/Translators:1.10 phpdoc/nl/Translators:1.11 --- phpdoc/nl/Translators:1.10 Tue Nov 7 14:13:11 2000 +++ phpdoc/nl/Translators Fri Nov 10 11:34:46 2000 @@ -35,10 +35,10 @@ connection-handling.xml Mathieu done cookies.xml Mathieu done error-handling.xml Mathieu done -file-upload.xml +file-upload.xml Mathieu done http-auth.xml Mathieu done images.xml Mathieu done -persistent-connections.xml Mathieu done +persistent-connections.xml Mathieu done remote-files.xml Mathieu done ------- functions ----------------------------------------------------------- apache.xml Derick done @@ -117,8 +117,9 @@ control-structures.xml Derick started expressions.xml functions.xml -oop.xml Derick started +oop.xml Derick done operators.xml +references.xml Derick started types.xml variables.xml ---------------------------------------------------------------------------- Index: phpdoc/nl/chapters/security.xml diff -u phpdoc/nl/chapters/security.xml:1.7 phpdoc/nl/chapters/security.xml:1.8 --- phpdoc/nl/chapters/security.xml:1.7 Fri Nov 10 07:47:13 2000 +++ phpdoc/nl/chapters/security.xml Fri Nov 10 11:34:47 2000 @@ -348,7 +348,7 @@ // de PHP gebruiker toegang tot heeft. Als PHP root rechten heeft: $gebruiker = "../etc/"; $homedir = "/home/../etc/"; -$te_verijwderen_bestand = "passwd"; +$te_verwijderen_bestand = "passwd"; unlink ("/home/../etc/passwd"); echo "/home/../etc/passwd" is verwijderd!"; ?> Index: phpdoc/nl/language/control-structures.xml diff -u phpdoc/nl/language/control-structures.xml:1.6 phpdoc/nl/language/control-structures.xml:1.7 --- phpdoc/nl/language/control-structures.xml:1.6 Tue Nov 7 14:46:14 2000 +++ phpdoc/nl/language/control-structures.xml Fri Nov 10 11:34:47 2000 @@ -797,43 +797,46 @@ <sect1 id="function.require"> <title><function>require</function></title> <simpara> - The <function>require</function> statement replaces itself with - the specified file, much like the C preprocessor's - <literal>#include</literal> works. + Het <function>require</function> statement vervangt zichzelf met + de gespecificeerde file, bijna gelijk als de C preprocessor's + <literal>#include</literal> werkt. </simpara> <simpara> - If "URL fopen wrappers" are enabled in PHP (which they are in the - default configuration), you can specify the file to be - <function>require</function>ed using an URL instead of a local - pathname. See <link linkend="features.remote-files">Remote - files</link> and <function>fopen</function> for more information. + Als "URL fopen wrappers" zijn enabled in PHP (dit zijn + ze in de default distributie) dan kun je met + <function>require</function> ook een URL gebruiken in plaats van + een lokaal bestand. Zie <link linkend="features.remote-files">Remote + files</link> en <function>fopen</function> voor meer informatie. </simpara> <simpara> - An important note about how this works is that when a file is - <function>include</function>ed or <function>require</function>ed, - parsing drops out of PHP mode and into HTML mode at the beginning - of the target file, and resumes PHP mode again at the end. For - this reason, any code inside the target file which should be - executed as PHP code must be enclosed within <link - linkend="language.basic-syntax.phpmode">valid PHP start and end + Het is belangrijk om te weten dat wanneer er een bestand wordt + ge<function>include</function>ed of ge<function>require</function>ed, + de parser uit PHP komt en naar HTML mode gaat voordat het bestand + wordt toegevoegd, en weer start met de PHP mode aan het einde van + het bestand. Om deze reden moet alle code in het bestand dat als + PHP code moet worden geïnterpreteerd moet worden omvat + met <link + linkend="language.basic-syntax.phpmode">geldige PHP start en end tags</link>. </simpara> <simpara> - <function>require</function> is not actually a function in PHP; - rather, it is a language construct. It is subject to some - different rules than functions are. For instance, - <function>require</function> is not subject to any containing - control structures. For another, it does not return any value; - attempting to read a return value from a - <function>require</function> call results in a parse error. + <function>require</function> is eigenlijk geen functie in PHP; + maar het is een taal constructie. Er gelden andere dingen + voor constructies dan voor functies. Bijvoorbeeld is het + niet mogelijk om <function>require</function> een return + waarde mee te geven. Als je toch probeert een return waarde + te lezen uit een <function>require</function> aanroep, krijg + je een parse error. </simpara> <simpara> - Unlike <function>include</function>, <function>require</function> - will <emphasis>always</emphasis> read in the target file, - <emphasis>even if the line it's on never executes</emphasis>. If - you want to conditionally include a file, use - <function>include</function>. The conditional statement won't - affect the <function>require</function>. However, if the line on + In tegenstelling tot <function>include</function> leest + <function>require</function> <emphasis>altijd</emphasis> + het bestand in, <emphasis>zelfs als de regel waarop de require + call staat nooit wordt uitgevoerd.</emphasis>. Als je een + bestand conditioneel wilt laden, gebruik dan de + <function>include</function> functie. + Een conditional statement heeft geen invloed op een + <function>require</function>. However, if the line on which the <function>require</function> occurs is not executed, neither will any of the code in the target file be executed. </simpara> Index: phpdoc/nl/language/oop.xml diff -u phpdoc/nl/language/oop.xml:1.2 phpdoc/nl/language/oop.xml:1.3 --- phpdoc/nl/language/oop.xml:1.2 Tue Nov 7 14:13:12 2000 +++ phpdoc/nl/language/oop.xml Fri Nov 10 11:34:47 2000 @@ -87,56 +87,58 @@ </informalexample> <para> - Deze code defineerd een class Named_Cart dat alle variabelen en - functies van de Cart plus an additional variable $owner and an - additional function set_owner(). You create a named cart the usual - way and can now set and get the carts owner. You can still use - normal cart functions on named carts: + Deze code defineert een class Named_Cart dat alle variabelen en + functies van de Cart plus een nieuwe variable $owner en een nieuwe + functie set_owner(). Deze classe is te gebruiken als de gewone + Cart, maar er kan nu ook de eigenaar worden opgevraagd en geset. </para> <informalexample> <programlisting role="php"> -$ncart = new Named_Cart; // Create a named cart -$ncart->set_owner ("kris"); // Name that cart -print $ncart->owner; // print the cart owners name -$ncart->add_item ("10", 1); // (inherited functionality from cart) +$ncart = new Named_Cart; // Creeër de classe +$ncart->set_owner ("piet"); // Zet de eigenaar van de cart +print $ncart->owner; // Druk de naam van de eigenaar af +$ncart->add_item ("10", 1); // (inherited functie van Cart) </programlisting> </informalexample> <para> - Within functions of a class the variable $this means this - object. You have to use $this->something to access any variable or - function named something within your current object. + Binnen functies van de class heeft de variable $this een speciale + betekenis, namelijk die van het huidige object. Je moet iets als + $this->something gebruiken om de variabelen en functies binnen + het huidige object aan te spreken. </para> <para> - Constructors are functions in a class that are automatically - called when you create a new instance of a class. A function - becomes a constructor when it has the same name as the class. + Constructors zijn functies in een class die automatisch worden + aangeroepen wanneer er een nieuwe instantie wordt gemaakt met de + new operator. Een functie is een constructor als het dezelfde naam + heeft als de naam van de class. </para> <informalexample> <programlisting role="php"> class Auto_Cart extends Cart { function Auto_Cart () { - $this->add_item ("10", 1); + $this->add_item ("10", 1); } } </programlisting> </informalexample> <para> - This defines a class Auto_Cart that is a Cart plus a constructor - which initializes the cart with one item of article number "10" - each time a new Auto_Cart is being made with "new". Constructors - can also take arguments and these arguments can be optional, which - makes them much more useful. + Dit defineerd een class Auto_Cart die een Cart class is met een extra + constructor, die de Cart initialiseerd met één item met + artikel nummer "10" bij elke keer dat een classe wordt + geinstantieerd met de "new" operator. Contructors + kunnen ook argumenten hebben, en zelfs ook optionele argumenten. Dit + maakt constructoren zelfs nog handiger. </para> <informalexample> <programlisting role="php"> class Constructor_Cart extends Cart { function Constructor_Cart ($item = "10", $num = 1) { - $this->add_item ($item, $num); + $this->add_item ($item, $num); } } @@ -152,9 +154,9 @@ <caution> <simpara> - For derived classes, the constructor of the parent class is not - automatically called when the derived class's constructor is - called. + Voor afgeleide classes wordt de constructor van de case class niet + automatisch aangeroepen als de constructor van de afgeleidde class + wordt aangeroepen. </simpara> </caution> </sect1> Index: phpdoc/nl/language/references.xml diff -u phpdoc/nl/language/references.xml:1.1 phpdoc/nl/language/references.xml:1.2 --- phpdoc/nl/language/references.xml:1.1 Tue Oct 10 15:07:54 2000 +++ phpdoc/nl/language/references.xml Fri Nov 10 11:34:47 2000 @@ -1,39 +1,40 @@ <chapter id="language.references"> - <title>References Explained</title> + <title>References uitgelegd</title> <sect1 id="language.references.whatare"> <title>What References Are</title> <simpara> - References in PHP are means to call same variable content with - different names. They are not like C pointers, they are symbol - table aliases. Note that in PHP, variable names and variable - content are different, so same content can have different - names. The most close analogy is Unix filenames and files - - variable names are directory entries, while variable contents is - the file itself. References can be thought of as hardlinking in - Unix filesystem. + References in PHP geven de mogelijkheid om dezelfde variable + verschillende namen te geven. Ze zijn niet gelijk aan pointers + in C, maar het zijn aliases in de symbol table van PHP. In + PHP zijn variabele namen en variabele inhoud erg verschillend, + daarom kan de zelfde content verschillende namen hebben. Een + goed lijkend voorbeeld zijn Unix filenames and file - + variabelenamen zijn directory entries, en variabelen zijn de + file waarnaar de entry verwijst. References kom in dit voorbeeld + dan overeen met hardlinks. </simpara> </sect1> <sect1 id="language.references.whatdo"> - <title>What References Do</title> + <title>Wat References doen</title> <para> - PHP references allow you to make two variables to refer to the - same content. Meaning, when you do: + PHP references namek het mogelijk om twee variabelen naar dezelfde + inhoud te laten wijzen, bijvoorbeeld als je doet: <informalexample> <programlisting role="php"> $a =& $b </programlisting> </informalexample> - it means that <varname>$a</varname> and <varname>$b</varname> - point to the same variable. + dan wijzen <varname>$a</varname> en <varname>$b</varname> + naar exact dezelfde variabele. <note> <para> - <varname>$a</varname> and <varname>$b</varname> are completely - equal here, that's not <varname>$a</varname> is pointing to - <varname>$b</varname> or vice versa, that's - <varname>$a</varname> and <varname>$b</varname> pointing to the - same place. + <varname>$a</varname> en <varname>$b</varname> zijn helemaal + gelijk hier, het is niet dat <varname>$a</varname> naar + <varname>$b</varname> wijst of andersom, maar + <varname>$a</varname> and <varname>$b</varname> wijzen naar + dezelde inhoud. </para> </note> </para>