SoapClient::__getFunctions
(PHP 5, PHP 7, PHP 8)
SoapClient::__getFunctions — Liefert eine Liste verfügbarer SOAP-Funktionen
Beschreibung
public SoapClient::__getFunctions():
?array
Hinweis:
Diese Funktion funktioniert nur im WSDL-Modus.
Parameter-Liste
Diese Funktion besitzt keine Parameter.
Rückgabewerte
Das Array der SOAP-Funktionsprototypen mit detaillierter
Angabe des Rückgabetyps, des Funktionsnamens und des Parametertyps.
Beispiele
Beispiel #1 SoapClient::__getFunctions()-Beispiel
<?php
$client = new SoapClient('http://soap.amazon.com/schemas3/AmazonWebServices.wsdl');
var_dump($client->__getFunctions());
?>
Das oben gezeigte Beispiel erzeugt folgende Ausgabe:
array(26) {
[0]=>
string(70) "ProductInfo KeywordSearchRequest(KeywordRequest $KeywordSearchRequest)"
[1]=>
string(79) "ProductInfo TextStreamSearchRequest(TextStreamRequest $TextStreamSearchRequest)"
[2]=>
string(64) "ProductInfo PowerSearchRequest(PowerRequest $PowerSearchRequest)"
...
[23]=>
string(107) "ShoppingCart RemoveShoppingCartItemsRequest(RemoveShoppingCartItemsRequest $RemoveShoppingCartItemsRequest)"
[24]=>
string(107) "ShoppingCart ModifyShoppingCartItemsRequest(ModifyShoppingCartItemsRequest $ModifyShoppingCartItemsRequest)"
[25]=>
string(118) "GetTransactionDetailsResponse GetTransactionDetailsRequest(GetTransactionDetailsRequest $GetTransactionDetailsRequest)"
}