php-doc-en/reference/amqp/amqpchannel/construct.xml
TAKAGI Masahiro 65ecdcc727 correct description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323568 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-26 21:01:02 +00:00

71 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="amqpchannel.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>AMQPChannel::__construct</refname>
<refpurpose>Create an instance of an AMQPChannel object</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<methodname>AMQPChannel::__construct</methodname>
<methodparam><type>AMQPConnection</type><parameter>amqp_connection</parameter></methodparam>
</methodsynopsis>
<para>
Creates an <classname>AMQPChannel</classname> instance representing a channel on the given connection.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>amqp_connection</parameter></term>
<listitem>
<para>
A instance of <classname>AMQPConnection</classname> with an active connection to a broker.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="errors">
&reftitle.errors;
<para>
Throws <classname>AMQPConnectionException</classname> if the connection to the broker was lost.
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
An instance of <classname>AMQPChannel</classname>.
</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
-->