PHP 클래스 Horde_Rpc_Soap, horde

Copyright 2003-2014 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
저자: Chuck Hagenbuch ([email protected])
상속: extends Horde_Rpc
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_allowedMethods array List of method names to allow.
$_allowedTypes array List of types to emit in the WSDL.
$_server object Resource handler for the SOAP server.
$_serviceName string Name of the SOAP service to use in the WSDL.

공개 메소드들

메소드 설명
__construct ( $request, $params = [] ) SOAP server constructor
getResponse ( $request ) : string Takes a SOAP request and returns the result.
request ( string | Horde_Url $url, string $method, array $params, SoapClient $soap ) : mixed Builds a SOAP request and sends it to the SOAP server.

메소드 상세

__construct() 공개 메소드

SOAP server constructor
public __construct ( $request, $params = [] )

getResponse() 공개 메소드

Takes a SOAP request and returns the result.
public getResponse ( $request ) : string
리턴 string The XML encoded response from the server.

request() 공개 정적인 메소드

This statically called method is actually the SOAP client.
public static request ( string | Horde_Url $url, string $method, array $params, SoapClient $soap ) : mixed
$url string | Horde_Url Ignored.
$method string The method to call.
$params array A hash containing any necessary parameters for the method call.
$soap SoapClient A configured SoapClient object.
리턴 mixed The returned result from the method

프로퍼티 상세

$_allowedMethods 공개적으로 프로퍼티

List of method names to allow.
public array $_allowedMethods
리턴 array

$_allowedTypes 공개적으로 프로퍼티

List of types to emit in the WSDL.
public array $_allowedTypes
리턴 array

$_server 공개적으로 프로퍼티

Resource handler for the SOAP server.
public object $_server
리턴 object

$_serviceName 공개적으로 프로퍼티

Name of the SOAP service to use in the WSDL.
public string $_serviceName
리턴 string