Source of: /manual/ro/amqpqueue.construct.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.amqpqueue.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'ro',
),
'this' =>
array (
0 => 'amqpqueue.construct.php',
1 => 'AMQPQueue::__construct',
),
'up' =>
array (
0 => 'class.amqpqueue.php',
1 => 'AMQPQueue',
),
'prev' =>
array (
0 => 'amqpqueue.cancel.php',
1 => 'AMQPQueue::cancel',
),
'next' =>
array (
0 => 'amqpqueue.consume.php',
1 => 'AMQPQueue::consume',
),
'alternatives' =>
array (
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="amqpqueue.construct" class="refentry">
<div class="refnamediv">
<h1 class="refname">AMQPQueue::__construct</h1>
<p class="verinfo">(PECL amqp >= Unknown)</p><p class="refpurpose"><span class="refname">AMQPQueue::__construct</span> — <span class="dc-title">Create an instance of an AMQPQueue object</span></p>
</div>
<div class="refsect1 description" id="refsect1-amqpqueue.construct-description">
<h3 class="title">Descrierea</h3>
<div class="methodsynopsis dc-description">
<span class="modifier">public</span> <span class="methodname"><strong>AMQPQueue::__construct</strong></span>
( <span class="methodparam"><span class="type"><a href="class.amqpchannel.php" class="type AMQPChannel">AMQPChannel</a></span> <code class="parameter">$amqp_channel</code></span>
)</div>
<p class="para rdfs-comment">
Creates an <a href="class.amqpqueue.php" class="classname">AMQPQueue</a> instance representing an AMQP queue on the broker.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-amqpqueue.construct-parameters">
<h3 class="title">Parametri</h3>
<p class="para">
</p>
</div>
<div class="refsect1 errors" id="refsect1-amqpqueue.construct-errors">
<h3 class="title">Erori/Excepții</h3>
<p class="para">
Throws <strong class="classname">AMQPQueueException</strong> when <em><code class="parameter">amqp_channel</code></em> is not connected to a broker.
</p>
<p class="para">
Throws <strong class="classname">AMQPConnectionException</strong> if the connection to the broker was lost.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-amqpqueue.construct-returnvalues">
<h3 class="title">Valorile întoarse</h3>
<p class="para">
Returns an instance of <a href="class.amqpqueue.php" class="classname">AMQPQueue</a> on success.
</p>
</div>
</div><?php manual_footer(); ?>