cvs: phpdoc-it /reference/oci8 reference.xml /reference/oci8/functions ocicancel.xml ocicollappend.xml ocicollassign.xml ocicollassignelem.xml

From: Date: Fri, 13 Feb 2004 22:00:06 +0000
Subject: cvs: phpdoc-it /reference/oci8 reference.xml /reference/oci8/functions ocicancel.xml ocicollappend.xml ocicollassign.xml ocicollassignelem.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-553@lists.php.net to get a copy of this message
cucinato Fri Feb 13 17:00:06 2004 EDT Modified files: /phpdoc-it/reference/oci8 reference.xml /phpdoc-it/reference/oci8/functions ocicancel.xml ocicollappend.xml ocicollassign.xml ocicollassignelem.xml Log: Sync to EN tree

http://cvs.php.net/diff.php/phpdoc-it/reference/oci8/reference.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-it/reference/oci8/reference.xml diff -u phpdoc-it/reference/oci8/reference.xml:1.9 phpdoc-it/reference/oci8/reference.xml:1.10 --- phpdoc-it/reference/oci8/reference.xml:1.9 Tue Jan 7 13:09:34 2003 +++ phpdoc-it/reference/oci8/reference.xml Fri Feb 13 17:00:04 2004 @@ -23,7 +23,9 @@ <section id="oci8.requirements"> &reftitle.required; <para> - Occorre avere installate le librerie client di Oracle8 per utilizzare questa estensione. + Occorre avere installate le librerie client di Oracle8 per utilizzare questa estensione. + Gli utenti Windows necessitano almeno della versione 8.1 di Oracle per utilizzare + la dll <filename>php_oci8.dll</filename>. </para> <para> Prima di usare questa estensione, occorre sincerarsi di aver impostato @@ -132,10 +134,10 @@ <para> <example> <title>Trucchi OCI</title> - <programlisting role="php"> + <programlisting role="php"> <![CDATA[ <?php -// by sergo@bacup.ru +// by sergo at bacup dot ru // Usare l'opzione OCI_DEFAULT nel comando execute per ritardare l'esicuzione OCIExecute($stmt, OCI_DEFAULT); @@ -143,7 +145,7 @@ // per ricevere i dati utilizzare (dopo il fetch): $result = OCIResult($stmt, $n); -if (is_object ($result)) $result = $result->load(); +if (is_object($result)) $result = $result->load(); // come comandi INSERT o UPDATE usare: @@ -151,9 +153,9 @@ field2 = empty_clob()) returning field2 into :field2"; OCIParse($conn, $sql); $clob = OCINewDescriptor($conn, OCI_D_LOB); -OCIBindByName ($stmt, ":field2", &$clob, -1, OCI_B_CLOB); +OCIBindByName($stmt, ":field2", &$clob, -1, OCI_B_CLOB); OCIExecute($stmt, OCI_DEFAULT); -$clob->save ("some text"); +$clob->save("some text"); OCICommit($conn); ?> @@ -169,18 +171,18 @@ <programlisting role="php"> <![CDATA[ <?php -// by webmaster@remoterealty.com -$sth = OCIParse ( $dbh, "begin sp_newaddress( :address_id, '$firstname', +// by webmaster at remoterealty dot com +$sth = OCIParse($dbh, "begin sp_newaddress( :address_id, '$firstname', '$lastname', '$company', '$address1', '$address2', '$city', '$state', - '$postalcode', '$country', :error_code );end;" ); + '$postalcode', '$country', :error_code );end;"); -// Questo codice richiama la stord procedure sp_newaddress, dove :address_id è +// Questo codice richiama la stored procedure sp_newaddress, dove :address_id è // una variabile in/out e :error_code è una variabile out. // Quindi si effettua il binding: - OCIBindByName ( $sth, ":address_id", $addr_id, 10 ); - OCIBindByName ( $sth, ":error_code", $errorcode, 10 ); - OCIExecute ( $sth ); + OCIBindByName($sth, ":address_id", $addr_id, 10); + OCIBindByName($sth, ":error_code", $errorcode, 10); + OCIExecute($sth); ?> ]]> http://cvs.php.net/diff.php/phpdoc-it/reference/oci8/functions/ocicancel.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/oci8/functions/ocicancel.xml diff -u phpdoc-it/reference/oci8/functions/ocicancel.xml:1.4 phpdoc-it/reference/oci8/functions/ocicancel.xml:1.5 --- phpdoc-it/reference/oci8/functions/ocicancel.xml:1.4 Thu Feb 20 17:55:23 2003 +++ phpdoc-it/reference/oci8/functions/ocicancel.xml Fri Feb 13 17:00:05 2004 @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/oci8.xml, last change in rev 1.9 --> <!-- last change to 'ocicancel' in en/ tree in rev 1.28 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.45/EN.1.28 --> <refentry id="function.ocicancel"> <refnamediv> - <refname>OCICancel</refname> + <refname>ocicancel</refname> <refpurpose>Interrompe la lettura del cursore</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>ocicancel</methodname> - <methodparam><type>int</type><parameter>stmt</parameter></methodparam> + <methodparam><type>resource</type><parameter>stmt</parameter></methodparam> </methodsynopsis> <simpara> Se non si vogliono leggere altri dati da un cursore, chiamare http://cvs.php.net/diff.php/phpdoc-it/reference/oci8/functions/ocicollappend.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/oci8/functions/ocicollappend.xml diff -u phpdoc-it/reference/oci8/functions/ocicollappend.xml:1.4 phpdoc-it/reference/oci8/functions/ocicollappend.xml:1.5 --- phpdoc-it/reference/oci8/functions/ocicollappend.xml:1.4 Thu Feb 20 17:55:23 2003 +++ phpdoc-it/reference/oci8/functions/ocicollappend.xml Fri Feb 13 17:00:05 2004 @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/oci8.xml, last change in rev 1.21 --> <!-- last change to 'ocicollappend' in en/ tree in rev 1.23 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.45/EN.1.23 --> <refentry id="function.ocicollappend"> <refnamediv> <refname>ocicollappend</refname> - <refpurpose>Coming soon</refpurpose> + <refpurpose>Aggiunge un oggetto alla collezione</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>ocicollappend</methodname> - <methodparam><type>object</type><parameter>collection</parameter></methodparam> - <methodparam><type>object</type><parameter>object</parameter></methodparam> + <methodparam><type>object</type><parameter>valore</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; http://cvs.php.net/diff.php/phpdoc-it/reference/oci8/functions/ocicollassign.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/oci8/functions/ocicollassign.xml diff -u phpdoc-it/reference/oci8/functions/ocicollassign.xml:1.4 phpdoc-it/reference/oci8/functions/ocicollassign.xml:1.5 --- phpdoc-it/reference/oci8/functions/ocicollassign.xml:1.4 Thu Feb 20 17:55:23 2003 +++ phpdoc-it/reference/oci8/functions/ocicollassign.xml Fri Feb 13 17:00:05 2004 @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/oci8.xml, last change in rev 1.9 --> <!-- last change to 'ocicollassign' in en/ tree in rev 1.39 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.45/EN.1.39 --> <refentry id="function.ocicollassign"> <refnamediv> <refname>ocicollassign</refname> - <refpurpose>Coming soon</refpurpose> + <refpurpose>Assegna una collezione da un'altra collezione esistente</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>ocicollassign</methodname> - <methodparam><type>object</type><parameter>collection</parameter></methodparam> - <methodparam><type>object</type><parameter>object</parameter></methodparam> + <methodparam><type>object</type><parameter>da</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; http://cvs.php.net/diff.php/phpdoc-it/reference/oci8/functions/ocicollassignelem.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-it/reference/oci8/functions/ocicollassignelem.xml diff -u phpdoc-it/reference/oci8/functions/ocicollassignelem.xml:1.4 phpdoc-it/reference/oci8/functions/ocicollassignelem.xml:1.5 --- phpdoc-it/reference/oci8/functions/ocicollassignelem.xml:1.4 Thu Feb 20 17:55:23 2003 +++ phpdoc-it/reference/oci8/functions/ocicollassignelem.xml Fri Feb 13 17:00:05 2004 @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/oci8.xml, last change in rev 1.9 --> <!-- last change to 'ocicollassignelem' in en/ tree in rev 1.23 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.45/EN.1.23 --> <refentry id="function.ocicollassignelem"> <refnamediv> - <refname>OCICollAssignElem</refname> - <refpurpose>Coming soon</refpurpose> + <refname>ocicollassignelem</refname> + <refpurpose>Assegna un elemento alla collezione in una specifica posizione</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>ocicollassignelem</methodname> - <methodparam><type>object</type><parameter>collection</parameter></methodparam> - <methodparam><type>string</type><parameter>ndx</parameter></methodparam> + <methodparam><type>int</type><parameter>ndx</parameter></methodparam> <methodparam><type>string</type><parameter>val</parameter></methodparam> </methodsynopsis> <para>
« previous php.doc.it (#553) next »