From 6df80bd8ba0e3890c05f044142295cc239cf012a Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Thu, 3 Feb 2011 13:09:37 +0000 Subject: [PATCH] Document missing optional parameters (Are Pedersen) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307972 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/amqp/amqpexchange/publish.xml | 96 ++++++++++++++++++++++++- 1 file changed, 94 insertions(+), 2 deletions(-) diff --git a/reference/amqp/amqpexchange/publish.xml b/reference/amqp/amqpexchange/publish.xml index 0a5dbd088e..1caa08a1c9 100644 --- a/reference/amqp/amqpexchange/publish.xml +++ b/reference/amqp/amqpexchange/publish.xml @@ -13,13 +13,13 @@ public voidAMQPExchange::publish stringmessage stringrouting_key + intparams0 + arrayattributes Publish a message to the exchange represented by the AMQPExchange object. - &warn.undocumented.func; - @@ -42,6 +42,91 @@ + + params + + + One or more of AMQP_MANDATORY and + AMQP_MANDATORY. + + + + + + + + + Supported indexes + + + + key + Description + Default value + + + + + Content-type + + text/plain + + + Content-encoding + + NULL + + + message_id + + NULL + + + user_id + + NULL + + + app_id + + NULL + + + delivery_mode + + NULL + + + priority + + NULL + + + timestamp + + NULL + + + expiration + + NULL + + + type + + NULL + + + reply_to + + NULL + + + +
+
+
+
@@ -49,7 +134,14 @@ &reftitle.returnvalues; + &return.success; + + + + &reftitle.errors; + + Throws an AMQPExchangeException on failure.