From e4b89704fa79a29e63761c87555093e553f33ecc Mon Sep 17 00:00:00 2001 From: "Herman J. Radtke III" Date: Sun, 23 Nov 2008 18:42:29 +0000 Subject: [PATCH] Documentation and examples for the SoapClient->__setLocation() method. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269570 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/soap-soapclient-setlocation.xml | 101 ++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 reference/soap/functions/soap-soapclient-setlocation.xml diff --git a/reference/soap/functions/soap-soapclient-setlocation.xml b/reference/soap/functions/soap-soapclient-setlocation.xml new file mode 100644 index 0000000000..4266e3f8dd --- /dev/null +++ b/reference/soap/functions/soap-soapclient-setlocation.xml @@ -0,0 +1,101 @@ + + + + + SoapClient->__setLocation + + Sets the location option. + + + + &reftitle.description; + + SoapClient + + string + __setLocation + stringlocation + + + + Sets the endpoint URL that will be touched by following SOAP requests. + + + + Calling this method is optional. The SoapClient uses the endpoint from + the WSDL file by default. + + + + + &reftitle.parameters; + + + + location + + + The URL to be set. If not specified, the existing value of the location + option will be unset. + + + + + + + + &reftitle.returnvalues; + + The old value of the location option. + + + + &reftitle.examples; + + + Set A Location + +__setLocation('http://www.somethirdparty.com'); + +$old_location = $client->__setLocation(); // unsets the location option + +echo $old_location; + +?> +]]> + + &example.outputs; + + + + + + + + +