cvs: phpdoc-it /reference/array/functions array-diff-assoc.xml array-diff.xml array-intersect-assoc.xml array-intersect.xml array-multisort.xml
array-walk.xml extract.xml range.xml /reference/bzip2 configure.xml /reference/oci8/functions ocifetchinto.xml /reference/pgsql/functions
pg-fetch-row.xml pg-pconnect.xml

From: Date: Tue, 04 Feb 2003 18:47:31 +0000
Subject: cvs: phpdoc-it /reference/array/functions array-diff-assoc.xml array-diff.xml array-intersect-assoc.xml array-intersect.xml array-multisort.xml
array-walk.xml extract.xml range.xml /reference/bzip2 configure.xml /reference/oci8/functions ocifetchinto.xml /reference/pgsql/functions
pg-fetch-row.xml pg-pconnect.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-198@lists.php.net to get a copy of this message
cucinato Tue Feb 4 13:47:31 2003 EDT Modified files: /phpdoc-it/reference/array/functions array-diff-assoc.xml array-diff.xml array-intersect-assoc.xml array-intersect.xml array-multisort.xml array-walk.xml extract.xml range.xml /phpdoc-it/reference/bzip2 configure.xml /phpdoc-it/reference/oci8/functions ocifetchinto.xml /phpdoc-it/reference/pgsql/functions pg-fetch-row.xml pg-pconnect.xml Log: Sync to EN tree

Index: phpdoc-it/reference/array/functions/array-diff-assoc.xml diff -u phpdoc-it/reference/array/functions/array-diff-assoc.xml:1.1 phpdoc-it/reference/array/functions/array-diff-assoc.xml:1.2 --- phpdoc-it/reference/array/functions/array-diff-assoc.xml:1.1 Tue Jan 7 13:09:32 2003 +++ phpdoc-it/reference/array/functions/array-diff-assoc.xml Tue Feb 4 13:47:30 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.1 Maintainer: ccucinato Status: ready --> +<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.14 --> <refentry id="function.array-diff-assoc"> <refnamediv> @@ -66,7 +66,8 @@ </simpara> </note> <para> - Vedere anche <function>array_diff</function>, <function>array_intersect</function>, + Vedere anche <function>array_diff</function>, + <function>array_intersect</function>, and <function>array_intersect_assoc</function>. </para> </refsect1> Index: phpdoc-it/reference/array/functions/array-diff.xml diff -u phpdoc-it/reference/array/functions/array-diff.xml:1.4 phpdoc-it/reference/array/functions/array-diff.xml:1.5 --- phpdoc-it/reference/array/functions/array-diff.xml:1.4 Thu Aug 1 20:16:05 2002 +++ phpdoc-it/reference/array/functions/array-diff.xml Tue Feb 4 13:47:30 2003 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.11 --> <!-- last change to 'array-diff' in en/ tree in rev 1.14 --> -<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.14 --> <refentry id="function.array-diff"> <refnamediv> <refname>array_diff</refname> - <refpurpose>Calcola la differenza di due o pi&ugrave; array</refpurpose> + <refpurpose>Calcola la differenza di due o più array</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>Descrizione</title> <methodsynopsis> <type>array</type><methodname>array_diff</methodname> <methodparam><type>array</type><parameter>array1</parameter></methodparam> @@ -61,7 +61,9 @@ </simpara> </warning> <para> - Vedere anche <function>array_intersect</function>. + Vedere anche <function>array_diff_assoc</function>, + <function>array_intersect</function> e + <function>array_intersect_assoc</function>. </para> </refsect1> </refentry> Index: phpdoc-it/reference/array/functions/array-intersect-assoc.xml diff -u phpdoc-it/reference/array/functions/array-intersect-assoc.xml:1.1 phpdoc-it/reference/array/functions/array-intersect-assoc.xml:1.2 --- phpdoc-it/reference/array/functions/array-intersect-assoc.xml:1.1 Tue Jan 7 13:09:32 2003 +++ phpdoc-it/reference/array/functions/array-intersect-assoc.xml Tue Feb 4 13:47:30 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.1 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> <refentry id="function.array-intersect-assoc"> <refnamediv> <refname>array_intersect_assoc</refname> @@ -59,8 +59,9 @@ <!-- TODO: example of it... --> </simpara> <simpara> - Vedere anche <function>array_diff</function> e - <function>array_intersect</function>. + Vedere anche <function>array_intersect</function> + <function>array_diff</function> e + <function>array_diff_assoc</function>. </simpara> </refsect1> </refentry> Index: phpdoc-it/reference/array/functions/array-intersect.xml diff -u phpdoc-it/reference/array/functions/array-intersect.xml:1.3 phpdoc-it/reference/array/functions/array-intersect.xml:1.4 --- phpdoc-it/reference/array/functions/array-intersect.xml:1.3 Sun May 12 18:14:11 2002 +++ phpdoc-it/reference/array/functions/array-intersect.xml Tue Feb 4 13:47:30 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.1 --> <!-- last change to 'array-intersect' in en/ tree in rev 1.14 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.14 --> <refentry id="function.array-intersect"> <refnamediv> @@ -61,7 +61,9 @@ </simpara> </warning> <para> - Vedere anche <function>array_diff</function>. + Vedere anche <function>array_intersect_assoc</function>, + <function>array_diff</function>, + <function>array_diff_assoc</function>. </para> </refsect1> </refentry> Index: phpdoc-it/reference/array/functions/array-multisort.xml diff -u phpdoc-it/reference/array/functions/array-multisort.xml:1.3 phpdoc-it/reference/array/functions/array-multisort.xml:1.4 --- phpdoc-it/reference/array/functions/array-multisort.xml:1.3 Sun May 12 18:14:11 2002 +++ phpdoc-it/reference/array/functions/array-multisort.xml Tue Feb 4 13:47:30 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.1 --> <!-- last change to 'array-multisort' in en/ tree in rev 1.11 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.11 --> <refentry id="function.array-multisort"> <refnamediv> @@ -24,15 +24,15 @@ </para> <para> Gli array in input sono trattati come campi di una tabella che vengano ordinati - per righe - questo assomiglia alla funzionalit&agrave; della clausola SQL ORDER BY + per righe - questo assomiglia alla funzionalità della clausola SQL ORDER BY Il primo array &egrave; quello primario, rispetto a cui aordinare. Le righe (valori) in questo array that siano uguali vengono ordinate secondo - l'array successivo, e cos&igrave; via. + l'array successivo, e così via. </para> <para> - La struttura degli argomenti di questa funzione &egrave; un po' inusuale, ma + La struttura degli argomenti di questa funzione è un po' inusuale, ma flessibile. Il primo argomento deve essere un - array. In seguito, ogni argomento pu&ograve; essere sia un aray che + array. In seguito, ogni argomento può essere sia un aray che un flag di ordinamento, selezionabile dalla seguente lista. </para> <para> @@ -64,14 +64,14 @@ Dopo ogni array, non si possono specificare due flag dello stesso tipo. I flag specificati dopo un array si applicano solo a quell'array - sono reimpostati ai default SORT_ASC e - SORT_REGULAR dopo ogni nuovo array passato come argomento. + SORT_REGULAR prima di ogni nuovo array passato come argomento. </para> <para> &return.success; </para> <para> <example> - <title>Ordinamre pi&ugrave; array</title> + <title>Ordinamre più array</title> <programlisting role="php"> <![CDATA[ $ar1 = array ("10", 100, 100, "a"); @@ -83,7 +83,7 @@ </para> <para> In questo esempio, dopo l'ordinamento, il primo array conterr&agrave; "10", - "a", 100, 100. Il secondo array conterr&agrave; 1, 1, "2", 3. Gli + "a", 100, 100. Il secondo array conterrà 1, 1, "2", 3. Gli elementi nel secondo array che corrispondono agli elementi identici nel primo array (100 e 100) vengono pure ordinati. </para> Index: phpdoc-it/reference/array/functions/array-walk.xml diff -u phpdoc-it/reference/array/functions/array-walk.xml:1.5 phpdoc-it/reference/array/functions/array-walk.xml:1.6 --- phpdoc-it/reference/array/functions/array-walk.xml:1.5 Thu Jan 9 01:28:41 2003 +++ phpdoc-it/reference/array/functions/array-walk.xml Tue Feb 4 13:47:30 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.1 --> <!-- last change to 'array-walk' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.7 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.2 --> <refentry id="function.array-walk"> <refnamediv> @@ -114,7 +114,7 @@ </example> </para> <simpara> - Vedere anche <function>each</function>, <function>list</function>, + Vedere anche <function>list</function>, <link linkend="control-structures.foreach">foreach</link>, <function>each</function> e <function>call_user_func_array</function>. </simpara> Index: phpdoc-it/reference/array/functions/extract.xml diff -u phpdoc-it/reference/array/functions/extract.xml:1.4 phpdoc-it/reference/array/functions/extract.xml:1.5 --- phpdoc-it/reference/array/functions/extract.xml:1.4 Mon Dec 9 19:33:18 2002 +++ phpdoc-it/reference/array/functions/extract.xml Tue Feb 4 13:47:30 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.1 --> <!-- last change to 'extract' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.2 --> <refentry id="function.extract"> <refnamediv> Index: phpdoc-it/reference/array/functions/range.xml diff -u phpdoc-it/reference/array/functions/range.xml:1.6 phpdoc-it/reference/array/functions/range.xml:1.7 --- phpdoc-it/reference/array/functions/range.xml:1.6 Fri Jan 24 07:59:00 2003 +++ phpdoc-it/reference/array/functions/range.xml Tue Feb 4 13:47:30 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.1 --> <!-- last change to 'range' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.2 --> <refentry id="function.range"> <refnamediv> Index: phpdoc-it/reference/bzip2/configure.xml diff -u phpdoc-it/reference/bzip2/configure.xml:1.1 phpdoc-it/reference/bzip2/configure.xml:1.2 --- phpdoc-it/reference/bzip2/configure.xml:1.1 Tue Jan 7 13:09:33 2003 +++ phpdoc-it/reference/bzip2/configure.xml Tue Feb 4 13:47:30 2003 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <section id="bzip2.installation"> &reftitle.install; <para> Il supporto di bzip2 in <literal>PHP</literal> non è abilitato di default. Si deve - utilizzare l'opzione <option role="configure">--with-bz2=[DIR]</option> + utilizzare l'opzione <option role="configure">--with-bz2[=DIR]</option> quando si compila PHP, per abilitare il supporto bzip2. </para> </section> Index: phpdoc-it/reference/oci8/functions/ocifetchinto.xml diff -u phpdoc-it/reference/oci8/functions/ocifetchinto.xml:1.2 phpdoc-it/reference/oci8/functions/ocifetchinto.xml:1.3 --- phpdoc-it/reference/oci8/functions/ocifetchinto.xml:1.2 Wed Apr 17 03:07:41 2002 +++ phpdoc-it/reference/oci8/functions/ocifetchinto.xml Tue Feb 4 13:47:30 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/oci8.xml, last change in rev 1.1 --> <!-- last change to 'ocifetchinto' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.45/EN.1.2 --> <refentry id="function.ocifetchinto"> <refnamediv> @@ -13,7 +13,7 @@ <methodsynopsis> <type>int</type><methodname>OCIFetchInto</methodname> <methodparam><type>int</type><parameter>stmt</parameter></methodparam> - <methodparam><type>array &amp;</type><parameter>result</parameter></methodparam> + <methodparam><type>array</type><parameter>result</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> @@ -24,11 +24,11 @@ <parameter>result</parameter> conterr&agrave; un array (primo indice = 1) di tutti i campi che non sono &null;. </para> - <para> - Il parametro <parameter>mode</parameter> permette di cambiare il comportamento - predefinito. E' possibile specificare pi&ugrave; di un'opzione sommandole - (es. OCI_ASSOC+OCI_RETURN_NULLS). Le opzioni valide - sono: + <para> + Il parametro <parameter>mode</parameter> permette di cambiare il comportamento + predefinito. E' possibile specificare più di un'opzione sommandole + (es. OCI_ASSOC+OCI_RETURN_NULLS). Le opzioni valide + sono: <simplelist> <member> <literal>OCI_ASSOC</literal> Restituisce un array associativo. @@ -45,7 +45,32 @@ invece del descrittore. </member> </simplelist> - </para> + </para> + <para> + <example> + <title>Un semplice esempio di <function>OCIFetchInto</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$conn = ocilogon("username","password"); + +$query = "SELECT mele FROM arance"; + +$statement = OCIParse ($conn, $query); +OCIExecute ($statement); + +while (OCIFetchInto ($statement, $row, OCI_ASSOC)) { + print $row['mele']; +} +?> +]]> + </programlisting> + </example> + </para> + <para> + Vedere anche <function>OCIFetch</function> e + <function>OCIExecute</function>. + </para> </refsect1> </refentry> Index: phpdoc-it/reference/pgsql/functions/pg-fetch-row.xml diff -u phpdoc-it/reference/pgsql/functions/pg-fetch-row.xml:1.4 phpdoc-it/reference/pgsql/functions/pg-fetch-row.xml:1.5 --- phpdoc-it/reference/pgsql/functions/pg-fetch-row.xml:1.4 Thu Aug 22 07:29:21 2002 +++ phpdoc-it/reference/pgsql/functions/pg-fetch-row.xml Tue Feb 4 13:47:30 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.10 --> <!-- last change to 'pg-fetch-row' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.70/EN.1.2 --> <!-- CREDITS: fabio,cortesi,denny --> <refentry id="function.pg-fetch-row"> @@ -51,13 +51,9 @@ exit; } -$num = pg_num_rows($risultato); - -for ($i=0; $i < $num; $i++) { - $r = pg_fetch_row($risultato, $i); - - for ($j=0; $j < count($r); $j++) { - echo "$r[$j]&nbsp;"; +while ($row = pg_fetch_row($risultato, $i)) { + for ($j=0; $j < count($row); $j++) { + echo "$row[$j]&nbsp;"; } echo "<BR>"; Index: phpdoc-it/reference/pgsql/functions/pg-pconnect.xml diff -u phpdoc-it/reference/pgsql/functions/pg-pconnect.xml:1.3 phpdoc-it/reference/pgsql/functions/pg-pconnect.xml:1.4 --- phpdoc-it/reference/pgsql/functions/pg-pconnect.xml:1.3 Tue Jan 7 13:09:36 2003 +++ phpdoc-it/reference/pgsql/functions/pg-pconnect.xml Tue Feb 4 13:47:30 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.10 --> <!-- last change to 'pg-pconnect' in en/ tree in rev 1.82 --> -<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.70/EN.1.82 --> <!-- CREDITS: fabio,cortesi,denny --> <refentry id="function.pg-pconnect"> @@ -40,7 +40,9 @@ create con <function>pg_pconnect</function>. </para> <para> - Vedere anche <function>pg_connect</function>. + Vedere anche <function>pg_connect</function> e la sezione + <link linkend="features.persistent-connections">Connessioni Permanenti + al Database</link> per ulteriori informazioni. </para> </refsect1> </refentry>
« previous php.doc.it (#198) next »