php-doc-en/reference/pdo_pgsql/PDO/pgsqlGetNotify.xml
Christoph Michael Becker 4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00

75 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="pdo.pgsqlgetnotify" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>PDO::pgsqlGetNotify</refname>
<refpurpose>Get asynchronous notification</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>array</type><methodname>PDO::pgsqlGetNotify</methodname>
<methodparam choice="opt"><type>int</type><parameter>result_type</parameter><initializer><constant>PDO::FETCH_USE_DEFAULT</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>ms_timeout</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Returns a result set representing a pending asynchronous notification.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>result_type</parameter></term>
<listitem>
<para>
The format the result set should be returned as, represented as a
<link linkend="pdostatement.fetch"><constant>PDO::FETCH_*</constant></link>
constant.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>ms_timeout</parameter></term>
<listitem>
<para>
The length of time to wait for a response, in milliseconds.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
If one or more notifications is pending, returns a single row, with fields
<literal>message</literal> and <literal>pid</literal>, otherwise returns
&false;.
</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:"~/.phpdoc/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
-->