cvs: phpdoc-pl /reference/pgsql/functions pg-connection-reset.xml

From: Date: Tue, 02 May 2006 00:02:03 +0000
Subject: cvs: phpdoc-pl /reference/pgsql/functions pg-connection-reset.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-911@lists.php.net to get a copy of this message
leszek Tue May 2 00:02:03 2006 UTC Modified files: /phpdoc-pl/reference/pgsql/functions pg-connection-reset.xml Log: [adi] update to rev. 1.8, again [adi] update to rev. 1.8 http://cvs.php.net/viewcvs.cgi/phpdoc-pl/reference/pgsql/functions/pg-connection-reset.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-pl/reference/pgsql/functions/pg-connection-reset.xml diff -u phpdoc-pl/reference/pgsql/functions/pg-connection-reset.xml:1.3 phpdoc-pl/reference/pgsql/functions/pg-connection-reset.xml:1.4 --- phpdoc-pl/reference/pgsql/functions/pg-connection-reset.xml:1.3 Wed Jun 19 09:03:21 2002 +++ phpdoc-pl/reference/pgsql/functions/pg-connection-reset.xml Tue May 2 00:02:03 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.2 Maintainer: jarek Status: ready --> -<!-- $Revision: 1.3 $--> +<!-- EN-Revision: 1.8 Maintainer: jarek Status: ready --> +<!-- $Revision: 1.4 $--> <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 --> <refentry id='function.pg-connection-reset'> <refnamediv> @@ -9,23 +9,75 @@ Restartuje po³±czenie </refpurpose> </refnamediv> - <refsect1> - <title>Opis</title> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>pg_connection_reset</methodname> - <methodparam><type>resource</type><parameter>connection</parameter></methodparam> + <methodparam><type>resource</type><parameter>po³±czenie</parameter></methodparam> </methodsynopsis> <para> <function>pg_connection_reset</function> restartuje po³±czenie. Jest u¿yteczne - w sytuacja awaryjnych. &return.success; + w sytuacja awaryjnych. </para> - <para> - Zobacz tak¿e <function>pg_connect</function>, - <function>pg_pconnect</function> i - <function>pg_connection_status</function> - </para> - </refsect1> - </refentry> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>po³±czenie</parameter></term> + <listitem> + <para> + Zasób, po³±czenie do bazy PostgreSQL. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>pg_connection_reset</function> przyk³ad</title> + <programlisting role="php"> +<![CDATA[ +<?php + $dbconn = pg_connect("dbname=publisher") or die("Nie mo¿na siê po³±czyæ"); + $dbconn2 = pg_connection_reset($dbconn); + if ($dbconn2) { + echo "restart poprawny\n"; + } else { + echo "restart nie powiód³ siê\n"; + } +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>pg_connect</function></member> + <member><function>pg_pconnect</function></member> + <member><function>pg_connection_status</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc.pl (#911) next »