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
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$_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