PHP Class ScriptFUSION\Porter\Net\Soap\SoapOptions

Inheritance: extends ScriptFUSION\Porter\Options\EncapsulatedOptions
Exibir arquivo Open project: ScriptFUSION/Porter Class Usage Examples

Public Methods

Method Description
__construct ( )
extractSoapClientOptions ( ) : array Extracts a list of SOAP Client options only.
getCacheWsdl ( ) : integer
getClassmap ( ) : array
getCompression ( ) : boolean
getConnectionTimeout ( ) : integer
getEncoding ( ) : string
getExceptions ( ) : boolean
getFeatures ( ) : integer
getKeepAlive ( ) : boolean
getLocation ( ) : string
getParameters ( ) : array
getProxyHost ( ) : string
getProxyLogin ( ) : string
getProxyPassword ( ) : string
getProxyPort ( ) : integer
getSslMethod ( ) : integer
getTrace ( ) : boolean
getTypemap ( ) : array
getUri ( ) : string
getUserAgent ( ) : string
getVersion ( ) : integer
setCacheWsdl ( integer $cacheMode ) Sets the WSDL caching mode.
setClassmap ( array $classmap )
setCompression ( boolean $compression )
setConnectionTimeout ( integer $timeout )
setEncoding ( string $encoding ) Sets the character encoding for strings.
setExceptions ( boolean $exceptions )
setFeatures ( integer $features )
setKeepAlive ( boolean $keepAlive )
setLocation ( string $location )
setParameters ( array $params )
setProxyHost ( string $host )
setProxyLogin ( string $login )
setProxyPassword ( string $password )
setProxyPort ( integer $port )
setSslMethod ( integer $method )
setTrace ( boolean $trace )
setTypemap ( array $typemap )
setUri ( string $uri )
setUserAgent ( string $userAgent )
setVersion ( integer $version )

Method Details

__construct() public method

public __construct ( )

extractSoapClientOptions() public method

Extracts a list of SOAP Client options only.
See also: http://php.net/manual/en/soapclient.soapclient.php
public extractSoapClientOptions ( ) : array
return array SOAP context options.

getCacheWsdl() public method

public getCacheWsdl ( ) : integer
return integer

getClassmap() public method

public getClassmap ( ) : array
return array

getCompression() public method

public getCompression ( ) : boolean
return boolean

getConnectionTimeout() public method

public getConnectionTimeout ( ) : integer
return integer

getEncoding() public method

public getEncoding ( ) : string
return string

getExceptions() public method

public getExceptions ( ) : boolean
return boolean

getFeatures() public method

public getFeatures ( ) : integer
return integer

getKeepAlive() public method

public getKeepAlive ( ) : boolean
return boolean

getLocation() public method

public getLocation ( ) : string
return string

getParameters() public method

public getParameters ( ) : array
return array

getProxyHost() public method

public getProxyHost ( ) : string
return string

getProxyLogin() public method

public getProxyLogin ( ) : string
return string

getProxyPassword() public method

public getProxyPassword ( ) : string
return string

getProxyPort() public method

public getProxyPort ( ) : integer
return integer

getSslMethod() public method

public getSslMethod ( ) : integer
return integer

getTrace() public method

public getTrace ( ) : boolean
return boolean

getTypemap() public method

public getTypemap ( ) : array
return array

getUri() public method

public getUri ( ) : string
return string

getUserAgent() public method

public getUserAgent ( ) : string
return string

getVersion() public method

public getVersion ( ) : integer
return integer

setCacheWsdl() public method

Sets the WSDL caching mode.
public setCacheWsdl ( integer $cacheMode )
$cacheMode integer One of WSDL_CACHE_NONE, WSDL_CACHE_DISK, WSDL_CACHE_MEMORY or WSDL_CACHE_BOTH.

setClassmap() public method

public setClassmap ( array $classmap )
$classmap array

setCompression() public method

public setCompression ( boolean $compression )
$compression boolean

setConnectionTimeout() public method

public setConnectionTimeout ( integer $timeout )
$timeout integer

setEncoding() public method

Sets the character encoding for strings.
public setEncoding ( string $encoding )
$encoding string Character encoding, e.g. utf-8.

setExceptions() public method

public setExceptions ( boolean $exceptions )
$exceptions boolean

setFeatures() public method

public setFeatures ( integer $features )
$features integer A bitmask one of SOAP_SINGLE_ELEMENT_ARRAYS, SOAP_USE_XSI_ARRAY_TYPE, SOAP_WAIT_ONE_WAY_CALLS.

setKeepAlive() public method

public setKeepAlive ( boolean $keepAlive )
$keepAlive boolean

setLocation() public method

public setLocation ( string $location )
$location string

setParameters() public method

public setParameters ( array $params )
$params array

setProxyHost() public method

public setProxyHost ( string $host )
$host string

setProxyLogin() public method

public setProxyLogin ( string $login )
$login string

setProxyPassword() public method

public setProxyPassword ( string $password )
$password string

setProxyPort() public method

public setProxyPort ( integer $port )
$port integer

setSslMethod() public method

public setSslMethod ( integer $method )
$method integer Ssl method to use of SOAP_SSL_METHOD_TLS, SOAP_SSL_METHOD_SSLv2, SOAP_SSL_METHOD_SSLv3 or SOAP_SSL_METHOD_SSLv23.

setTrace() public method

public setTrace ( boolean $trace )
$trace boolean

setTypemap() public method

public setTypemap ( array $typemap )
$typemap array

setUri() public method

public setUri ( string $uri )
$uri string

setUserAgent() public method

public setUserAgent ( string $userAgent )
$userAgent string

setVersion() public method

public setVersion ( integer $version )
$version integer