array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'soapclient.getfunctions.php', 1 => 'SoapClient::__getFunctions', ), 'up' => array ( 0 => 'class.soapclient.php', 1 => 'SoapClient', ), 'prev' => array ( 0 => 'soapclient.getcookies.php', 1 => 'SoapClient::__getCookies', ), 'next' => array ( 0 => 'soapclient.getlastrequest.php', 1 => 'SoapClient::__getLastRequest', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/soap/soapclient/getfunctions.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
SoapClient::__getFunctions — Returns list of available SOAP functions
Returns an array of functions described in the WSDL for the Web service.
Bilginize:
Bu işlev sadece WSDL kipinde çalışır.
Bu işlevin bağımsız değişkeni yoktur.
The array of SOAP function prototypes, detailing the return type, the function name and parameter types.
Örnek 1 SoapClient::__getFunctions() example
<?php
$client = new SoapClient('http://soap.amazon.com/schemas3/AmazonWebServices.wsdl');
var_dump($client->__getFunctions());
?>
Yukarıdaki örneğin çıktısı:
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)" }