SOAP SoapClient::__getFunctions
(PHP 5, PHP 7, PHP 8)
SoapClient::__getFunctions — 용 가능한 SOAP 함수 목록을 반환합니다.
설명
public SoapClient::__getFunctions(): ?array
웹 서비스용 WSDL에 설명된 함수 배열을 반환합니다.
메모: 이 함수는 WSDL 모드에서만 작동합니다.
매개변수
이 함수에는 매개변수가 없습니다.
반환 값
반환 유형, 함수 이름 및 매개변수 유형을 자세히 설명하는 SOAP 함수 프로토타입의 배열입니다.
Examples
예제 #1 SoapClient::__getFunctions() 예제
<?php
$client = new SoapClient('http://soap.amazon.com/schemas3/AmazonWebServices.wsdl');
var_dump($client->__getFunctions());
?>
위의 예는 다음을 출력합니다.
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)" }
기타
- SoapClient::__construct() - SoapClient constructor