cvs: phpdoc-it /reference/pgsql/functions pg-fetch-result.xml pg-field-is-null.xml

From: Date: Thu, 25 Jul 2002 23:09:18 +0000
Subject: cvs: phpdoc-it /reference/pgsql/functions pg-fetch-result.xml pg-field-is-null.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-33@lists.php.net to get a copy of this message
cucinato Thu Jul 25 19:09:18 2002 EDT Added files: /phpdoc-it/reference/pgsql/functions pg-fetch-result.xml pg-field-is-null.xml Log: Initial revision Index: phpdoc-it/reference/pgsql/functions/pg-fetch-result.xml +++ phpdoc-it/reference/pgsql/functions/pg-fetch-result.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 --> <refentry id="function.pg-fetch-result"> <refnamediv> <refname>pg_fetch_result</refname> <refpurpose>Restituisce i valori da una risorsa di risultato</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>mixed</type><methodname>pg_fetch_result</methodname> <methodparam><type>resource</type><parameter>risultato</parameter></methodparam> <methodparam><type>int</type><parameter>tupla</parameter></methodparam> <methodparam><type>mixed</type><parameter>campo</parameter></methodparam> </methodsynopsis> <para> <function>pg_fetch_result</function> restituisce i valori da una risorsa <parameter>risultato</parameter> ottenuta mediante <function>pg_query</function>. <parameter>tupla</parameter> è un intero. <parameter>campo</parameter> è il nome del campo (stringa) o l'indice del campo (intero). I parametri <parameter>tupla</parameter> e <parameter>campo</parameter> indicano quale cella nella tabella risultante va restituita. La numerazione delle tuple parte da 0. Invece di indicare il nome del campo, si può usare l'indice del campo sotto forma di numero senza virgolette. Gli indici dei campo partono da 0. </para> <para> PostgreSQL ha molti tipi di dato e solo quelli più usati sono supportati direttamente da questa funzione. Tutti gli <type>integer</type>, <type>boolean</type> e void <!-- FIXME: is that still true? PHP supports boolean&null now... --> <!-- Yes, supporting boolean&null breaks scripts. pg_fetch_array() can be used instead. I might take of this issue with additional ini directive. yohgaki@php.net --> sono restituiti come valori <type>integer</type>. Tutti i float, e i tipi real sono restiutiti come valori <type>float</type>. Tutti gli altri tipi, compresi gli array, sonorestituiti come stringhe formattate nello stesso modo di default che si puo vedere nel programma <command>psql</command>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-it/reference/pgsql/functions/pg-field-is-null.xml +++ phpdoc-it/reference/pgsql/functions/pg-field-is-null.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/pgsql.xml, last change in rev 1.10 --> <!-- last change to 'pg-fieldisnull' in en/ tree in rev 1.1 --> <!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> <!-- CREDITS: cortesi,denny,fabio --> <!-- OLD-Revision: 1.70/EN.1.1 --> <refentry id="function.pg-field-is-null"> <refnamediv> <refname>pg_fieldisnull</refname> <refpurpose>Test if a field is &null;</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>int</type><methodname>pg_field_is_null</methodname> <methodparam><type>resource</type><parameter>risultato</parameter></methodparam> <methodparam><type>int</type><parameter>tupla</parameter></methodparam> <methodparam><type>mixed</type><parameter>campo</parameter></methodparam> </methodsynopsis> <para> <function>pg_field_is_null</function> controlla se un campo è &null; o meno. Restituisce se il campo nella tupla data è &null;. Restituisce 0 se il campo nella tupla NON è &null;. Il campo può essere specificato con un indice di colonna (numero) o come un nome di campo (stringa). La numerazione comincia da 0. </para> <note> <para> Questa funzione si chiamava <literal>g_fieldisnull()</literal>. </para> </note> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.it (#33) next »