[PHP-DOC] cvs: phpdoc /de/functions array.xml
eschmid Sat Jul 14 12:04:10 2001 EDT Modified files: /phpdoc/de/functionsarray.xml Log: Changed color to farbe. Index: phpdoc/de/functions/array.xml diff -u phpdoc/de/functions/array.xml:1.18 phpdoc/de/functions/array.xml:1.19 --- phpdoc/de/functions/array.xml:1.18 Wed Jul 11 05:16:58 2001 +++ phpdoc/de/functions/array.xml Sat Jul 14 12:04:09 2001 @@ -390,7 +390,7 @@ array_keys $array = array (0 => 100, "farbe" => "rot"); -array_keys ($array); // liefert array (0, "color") +array_keys ($array); // liefert array (0, "farbe") $array = array ("blau", "rot", "grün", "blau", "blau"); array_keys ($array, "blau"); // liefert array (0, 3, 4)
[PHP-DOC] cvs: phpdoc /de/functions oci8.xml
sbergmann Sat Jul 14 10:08:04 2001 EDT Modified files: /phpdoc/de/functionsoci8.xml Log: Fugbix typo. Index: phpdoc/de/functions/oci8.xml diff -u phpdoc/de/functions/oci8.xml:1.15 phpdoc/de/functions/oci8.xml:1.16 --- phpdoc/de/functions/oci8.xml:1.15 Sat Jul 14 08:31:52 2001 +++ phpdoc/de/functions/oci8.xmlSat Jul 14 10:08:04 2001 @@ -1444,7 +1444,7 @@ - Wenn keine weiteren Zeilen gefecht werden sollen, kann + Wenn keine weiteren Zeilen gefetched werden sollen, kann der Cursor durch OCICancel abgebrochen werden.
[PHP-DOC] cvs: phpdoc /de/functions oci8.xml
tfromm Sat Jul 14 08:31:53 2001 EDT Modified files: /phpdoc/de/functionsoci8.xml Log: ocisetprefetch added Index: phpdoc/de/functions/oci8.xml diff -u phpdoc/de/functions/oci8.xml:1.14 phpdoc/de/functions/oci8.xml:1.15 --- phpdoc/de/functions/oci8.xml:1.14 Sat Jul 7 18:17:02 2001 +++ phpdoc/de/functions/oci8.xmlSat Jul 14 08:31:52 2001 @@ -1433,7 +1433,7 @@ OCICancel -Kommt noch. +bricht das lesen von einem cursor ab Beschreibung @@ -1444,7 +1444,29 @@ - Kommt noch. + Wenn keine weiteren Zeilen gefecht werden sollen, kann + der Cursor durch OCICancel abgebrochen werden. + + + + + + +OCISetPrefetch +setzt die Anzahl der Zeilen die vorab gefetcht werden +sollen + + +Beschreibung + + + int OCISetPrefetch + int stmt + int rows + + + + OCISetPrefetch setzt sie Anzahl der Zeilen fest, welche + bereits vorab gefetcht werden sollen. Der Grundwert ist 1.
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
tfromm Sat Jul 14 08:31:14 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: ocisetprefetch added Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.27 phpdoc/en/functions/oci8.xml:1.28 --- phpdoc/en/functions/oci8.xml:1.27 Sat Jul 7 15:36:45 2001 +++ phpdoc/en/functions/oci8.xmlSat Jul 14 08:31:14 2001 @@ -1550,10 +1550,11 @@ + OCICancel -Coming soon. +Cancel reading from cursor Description @@ -1564,7 +1565,28 @@ - Coming soon. + If you do not want read more data from a cursor, then call + OCICancel. + + + + + + +OCISetPrefetch +sets number of rows to be prefetched + + +Description + + + int OCISetPrefetch + int stmt + int rows + + + + Sets the number of top level rows to be prefetched. The default value is 1 row.
Re: [PHP-DOC] Offer of assistance: PDF versions of documentation
> I doubt this is the right list (no flames, please) but it seemed like the > right place to start. This is the right list :) > I'm not sure why the PDF versions of the docs are no longer available, Erm. They are **temporary** not available > but if it's because no one has the inclination to design/format good > documentation, then I'd like to offer to help. I'm a PHP newbie, but I've > been a graphic designer and editorial designer for many years. All the PDFs are autogenerated from the XML sources by some stylesheets. The generation framework is broken now, as we moved to new servers... Noone had time to make it live again. So this is an automated process, but maybe we can find your help useful. Jouni is responsible for the PDF generation now ([EMAIL PROTECTED]). > My apologies for the semi-off-topic post... if the appropriate person can > contact me and let me know if there's any help needed, I'd appreciate it. Goba ... . . . . . Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror
[PHP-DOC] cvs: phpdoc /en/language types.xml
torben Sat Jul 14 04:14:04 2001 EDT Modified files: /phpdoc/en/language types.xml Log: More fixes. Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.37 phpdoc/en/language/types.xml:1.38 --- phpdoc/en/language/types.xml:1.37 Sat Jul 14 03:49:16 2001 +++ phpdoc/en/language/types.xmlSat Jul 14 04:14:04 2001 @@ -89,7 +89,7 @@ (at least it is for the operator-defs) -In parameter definitions you can also encouter the 'number' pseudo-type, +In parameter definitions you can also encounter the 'number' pseudo-type, that indicates a parameter that is either integer or double. @@ -177,14 +177,14 @@ Converting to boolean - To explicitely convert a value to boolean, use either + To explicitly convert a value to boolean, use either the (bool) or the (boolean) cast. However, in most cases you do not need to use the cast, since a value will be automatically converted if an operator, function or control structure requires a boolean argument. - See also type-juggling. + See also Type Juggling. @@ -295,7 +295,7 @@ - In PHP there is no such thing as integer-division. 1/2 + In PHP there is no such thing as integer division. 1/2 yields the double 0.5. @@ -336,12 +336,13 @@ -Unfortunately, there is a bug in the script engine (still present in - 4.0.6, probably resolved in 4.0.7) so that this does not always work - correctly when there are negative numbers involved. However when both - operands are positive, there is no problem. For example: when you do - -5 * $million, the result will be - -429496728. +Unfortunately, there is a bug in the script engine (still +present in 4.0.6, probably resolved in 4.0.7) so that this +does not always work correctly when there are negative numbers +involved. For example: when you do -5 * +$million, the result will be +-429496728. However, when both operands are +positive there is no problem. @@ -351,7 +352,7 @@ Converting to integer - To explicitely convert a value to integer, use either + To explicitly convert a value to integer, use either the (int) or the (integer) cast. However, in most cases you do not need to use the cast, since a value will be autmatically converted if an operator, function or @@ -372,7 +373,7 @@ - From floating point numbers + From floating point +numbers When converting from float to integer, the number will be rounded towards zero. @@ -393,7 +394,7 @@ sometimes lead to unexpected results. -echo (int) ( (0.1+0.7) * 10 ); // echo's 7! +echo (int) ( (0.1+0.7) * 10 ); // echoes 7! @@ -414,14 +415,14 @@ From other types -Behaviour of converting to integer is undefined for other -types. Currently, the behaviour is the same as if -the value was first converted to boolean. - However, do not - relay on this behaviour, as it can change without notice. + Behaviour of converting to integer is undefined for other + types. Currently, the behaviour is the same as if the value + was first converted to boolean. However, do + not relay on this behaviour, as it can + change without notice. @@ -441,7 +442,7 @@ Floating point numbers -Floating point numbers (aka "doubles", "floats" or "real numbers") can be +Floating point numbers (AKA "doubles", "floats" or "real numbers") can be specified using any of the following syntaxes: $a = 1.234; $a = 1.2e3; $a = 7E-10; @@ -664,21 +665,21 @@ It is very important to note that the line with the closing identifier contains no other characters, except - possibly a ;. + possibly a semicolon (;). That means especially that the identifier may not be indented, and there - may not be any spaces or tabs after or before the ;. + may not be any spaces or tabs after or before the semicolon. Probably the nastiest gotcha is that there may also not be a carriage return (\r) at the end of the line, only - a form feed, a.k.a. newline (\n). + a form feed, AKA newline (\n). Since Microsoft Windows uses the sequence \r\n as a line terminator, your heredoc may not work if you write your - script in a windows editor. However, most programming - editors provide a way to save your files with UNIX + script in a Wi
[PHP-DOC] cvs: phpdoc /de Translators
tom Sat Jul 14 03:52:47 2001 EDT Modified files: /phpdoc/de Translators Log: added changes from Friedhelm Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.175 phpdoc/de/Translators:1.176 --- phpdoc/de/Translators:1.175 Fri Jul 13 02:54:23 2001 +++ phpdoc/de/Translators Sat Jul 14 03:52:47 2001 @@ -22,7 +22,7 @@ mj Martin Jansen [EMAIL PROTECTED] zimtPeter Petermann[EMAIL PROTECTED] Urs Gehrig [EMAIL PROTECTED] -Friedhelm Betz [EMAIL PROTECTED] +fbetz Friedhelm Betz [EMAIL PROTECTED] Cornelia Boenigk [EMAIL PROTECTED] tom Thomas Schöfbeck [EMAIL PROTECTED] @@ -95,7 +95,7 @@ info.xmlMark Kronsbein fertig ingress_ii.xml Cornelia Boenigkin Arbeit java.xmlSebastian Bergmann in Arbeit -ldap.xmlFriedhelm Betz in Arbeit +ldap.xmlFriedhelm Betz fertig (bis V. 1.29) mail.xmlUwe Steinmann fertig math.xmlHartmut Holzgraefe fertig mcal.xmlMark Kronsbein in Arbeit @@ -108,6 +108,7 @@ network.xml Thomas Schuermann fertig (bis V. 1.26) nis.xml oci8.xmlThomas Frommin Arbeit +openssl.xml Friedhelm Betz in Arbeit oracle.xml Martin Samesch fertig outcontrol.xml ovrimos.xml @@ -117,7 +118,7 @@ pgsql.xml Catharina Paulsen Änderungen posix.xml Martin Samesch in Arbeit pspell.xml -readline.xml +readline.xmlFriedhelm Betz fertig (bis V. 1.9) recode.xml regex.xml Martin Samesch fertig satellite.xml
[PHP-DOC] cvs: phpdoc /de/functions readline.xml
tom Sat Jul 14 03:50:50 2001 EDT Modified files: /phpdoc/de/functionsreadline.xml Log: Translation from Friedhelm Betz Index: phpdoc/de/functions/readline.xml diff -u /dev/null phpdoc/de/functions/readline.xml:1.4 --- /dev/null Sat Jul 14 03:50:50 2001 +++ phpdoc/de/functions/readline.xmlSat Jul 14 03:50:49 2001 @@ -0,0 +1,263 @@ + + GNU Readline + Readline + + + +Die readline Funktionen realisieren eine +Schnittstelle zur GNU Readline Bibliothek. Diese Funktionen bieten +die Möglichkeit Kommandozeilen zu editieren. Ein Beispiel für die +Anwendung ist die Art und Weise, wie die Bash es erlaubt, die +Pfeiltasten zu benutzen um Schriftzeichen einzufügen oder durch +die Kommando-History zu scrollen. Auf Grund des interaktiven +Charakters dieser Bibliothek ist diese von geringem Nutzen beim +Programmieren von Webanwendungen, kann aber nützlich sein, wenn +Sie Skripte schreiben, die dafür gedacht sind in einer Shell +abzulaufen. + + +Die Homepage des GNU Readline Projekts finden Sie unter +&url.readline;. Das Projekt +wird von Chet Ramey betreut, der außerdem der Autor der Bash ist. + + + + + +readline +Liest eine Zeile + + +Beschreibung + + + string readline + string + prompt + + + + + Diese Funktion gibt eine einzelne Zeichenkette vom Benutzer + zurück. Sie können eine Zeichenkette angeben, mit dem Sie den + Benutzer zur Eingabe auffordern. Der Zeile die Sie erhalten + fehlt das abschließende Zeichen für einen Zeilenvorschub. Die + Zeile müssen Sie selbst mit Hilfe der Funktion + readline_add_history der History hinzufügen. + + + readline + +//abfragen von 3 Kommandos vom Benutzer +for ($i=0; $i < 3; $i++) { +$zeile = readline ("Kommando: "); +readline_add_history ($line); +} + +//anzeigen der History +print_r (readline_list_history()); + +//anzeigen der Variablen +print_r (readline_info()); + + + + + + + +readline_add_history +Fügt eine Zeile zur History hinzu + + +Beschreibung + + + void readline_add_history + + string zeile + + + + Diese Funktion fügt eine Zeile zur Kommandozeilen-History hinzu. + + + + + + +readline_clear_history +Löscht die History + + +Beschreibung + + + bool readline_clear_history + + + + + + Diese Funktion löscht die gesamte Kommandozeilen-History. + + + + + + +readline_completion_function +Registriert eine Vervollständigungsfunktion + + + +Beschreibung + + + bool + readline_completion_function + + string zeile + + + + Diese Funktion registriert eine Vervollständigungsfunktion. Sie + müssen den Namen einer existierenden Funktion angeben, die einen + Teil einer Kommandozeile akzeptiert und ein Array möglicher + Übereinstimmungen zurückgibt. + Das ist die gleiche Art von Funktionalität die Sie haben, wenn + Sie die Tab-Taste benutzen, während Sie mit der Bash arbeiten. + + + + + + +readline_info +Liest/Setzt verschiedene interne readline +Variablen + + +Beschreibung + + + mixed readline_info + string + varname + + string + neuerwert + + + + + Wenn diese Funktion ohne Parameter aufgerufen wird, gibt sie + einen Array von Werten für alle Einstellungen zurück, die + readline benutzt. Die Elemente werden durch die folgenden Werte + indiziert: + done, end, erase_empty_line, library_version, line_buffer, mark, + pending_input, point, prompt, readline_name, und terminal_name. + + + Wird die Funktion mit einem Parameter aufgerufen, wird der Wert + dieser Einstellung zurückgegeben. + Beim Aufruf mit zwei Parametern wird die Einstellung auf den + angegebenen Wert geändert. + + + + + + +readline_list_history +Auflistung der History + + +Beschreibung + + + array readline_list_history + + + + + + Diese Funktion gibt ein Array der gesamten Kommandozeilen-History + zurück. Die Elemente sind mit Ganzzahlen indexiert, beginnend bei + Null. + + + + + + +readline_read_history +Liest die History + + +Beschreibung + + + bool + readline_read_history + + string dateiname + + + + Diese Funktion liest eine Kommando-History aus einer Datei. + + + + + + + +readline_write_history +Schreibt die History + + +Beschreibung + + + bool + readline_write_history + + string dateiname + + + + Diese Funktion schreibt die Kommando-History in ein
[PHP-DOC] cvs: phpdoc /en/language types.xml
torben Sat Jul 14 03:49:16 2001 EDT Modified files: /phpdoc/en/language types.xml Log: More typos. Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.36 phpdoc/en/language/types.xml:1.37 --- phpdoc/en/language/types.xml:1.36 Sat Jul 14 03:45:40 2001 +++ phpdoc/en/language/types.xmlSat Jul 14 03:49:16 2001 @@ -181,7 +181,7 @@ the (bool) or the (boolean) cast. However, in most cases you do not need to use the cast, since a value will be automatically converted if an operator, function or - control-structure requires a boolean argument. + control structure requires a boolean argument. See also type-juggling. @@ -355,7 +355,7 @@ the (int) or the (integer) cast. However, in most cases you do not need to use the cast, since a value will be autmatically converted if an operator, function or - control-structure requires a integer-argument. + control structure requires a integer-argument. See also type-juggling. @@ -1120,7 +1120,7 @@ The foreach - control-structure exists specificly for arrays. It + control structure exists specificly for arrays. It provides an easy way to traverse an array.
[PHP-DOC] cvs: phpdoc /en/language types.xml
torben Sat Jul 14 03:45:40 2001 EDT Modified files: /phpdoc/en/language types.xml Log: Typo fixes. Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.35 phpdoc/en/language/types.xml:1.36 --- phpdoc/en/language/types.xml:1.35 Sat Jul 7 17:27:20 2001 +++ phpdoc/en/language/types.xmlSat Jul 14 03:45:40 2001 @@ -180,8 +180,8 @@ To explicitely convert a value to boolean, use either the (bool) or the (boolean) cast. However, in most cases you do not need to use the cast, since a value - will be autmatically converted if an operator, function or - control-structure requires a boolean-argument. + will be automatically converted if an operator, function or + control-structure requires a boolean argument. See also type-juggling. @@ -1874,7 +1874,7 @@ - Instead of casting a variable to string, you can also use enclose + Instead of casting a variable to string, you can also enclose the variable in double quotes.