PHP Class Ondrejnov\EET\SoapClient

Inheritance: extends SoapClient
Afficher le fichier Open project: ondrejnov/eet Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $service, string $key, string $cert, boolean $trace = FALSE )
__doRequest ( $request, $location, $saction, $version, $one_way = NULL )
__doRequestByCurl ( string $request, string $location, string $action, integer $version, boolean $one_way = FALSE ) : string | null
__getConnectionTime ( $tillLastRequest = FALSE ) : float
__getLastRequest ( ) : string
__getLastResponseTime ( ) : float
getConnectTimeout ( ) : integer | null
getTimeout ( ) : integer | null
getXML ( $request )
getXMLforMethod ( $method, $data )
setConnectTimeout ( integer | null $milliseconds )
setTimeout ( integer | null $milliseconds )

Private Methods

Méthode Description
__curlSetTimeoutOption ( $options, $milliseconds, $name )
__setCurlOptions ( $curl, array $options )
getConnectionTimeTillLastRequest ( )
getConnectionTimeTillNow ( )

Method Details

__construct() public méthode

public __construct ( string $service, string $key, string $cert, boolean $trace = FALSE )
$service string
$key string
$cert string
$trace boolean

__doRequest() public méthode

public __doRequest ( $request, $location, $saction, $version, $one_way = NULL )

__doRequestByCurl() public méthode

public __doRequestByCurl ( string $request, string $location, string $action, integer $version, boolean $one_way = FALSE ) : string | null
$request string
$location string
$action string
$version integer
$one_way boolean
Résultat string | null

__getConnectionTime() public méthode

public __getConnectionTime ( $tillLastRequest = FALSE ) : float
Résultat float

__getLastRequest() public méthode

public __getLastRequest ( ) : string
Résultat string

__getLastResponseTime() public méthode

public __getLastResponseTime ( ) : float
Résultat float

getConnectTimeout() public méthode

public getConnectTimeout ( ) : integer | null
Résultat integer | null

getTimeout() public méthode

public getTimeout ( ) : integer | null
Résultat integer | null timeout in milliseconds

getXML() public méthode

public getXML ( $request )

getXMLforMethod() public méthode

public getXMLforMethod ( $method, $data )

setConnectTimeout() public méthode

public setConnectTimeout ( integer | null $milliseconds )
$milliseconds integer | null

setTimeout() public méthode

public setTimeout ( integer | null $milliseconds )
$milliseconds integer | null timeout in milliseconds