From 9f1626bd1aeffde896fc78211ac505ebe6d3f3fe Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 2 Feb 2011 14:03:40 +0000 Subject: [PATCH] Missing method git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307956 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/amqp/amqpconnection/setvhost.xml | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 reference/amqp/amqpconnection/setvhost.xml diff --git a/reference/amqp/amqpconnection/setvhost.xml b/reference/amqp/amqpconnection/setvhost.xml new file mode 100644 index 0000000000..2bba64a876 --- /dev/null +++ b/reference/amqp/amqpconnection/setvhost.xml @@ -0,0 +1,96 @@ + + + + + + AMQPConnection::setVhost + Set the amqp virtual host + + + + &reftitle.description; + + public voidAMQPConnection::setVhost + stringvhost + + + Sets the virtual host to which to connect on the AMQP broker. + + + + + &reftitle.parameters; + + + + host + + + The virtual host to use on the AMQP broker. + + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.errors; + + Throws an AMQPConnectionException if + host is longer then 32characters. + + + + + &reftitle.examples; + + + <function>AMQPConnection::setVhost</function> example + +setVhost('myvhost'); + +?> +]]> + + + + + + + + +