class Connect

Constants

PACKAGE_MANAGER_MODULE_NAME

PACKAGE_MANAGER_REPO_INSTANCE_NAME

Properties

$last_error

Methods

array
__call($function_name, $args)

Magic Function If started with underscore the call is handled by the connect call dispatcher, e.g. call Connect Function like ->lib->connect->_send_sms($param1, $param2); Otherwise a standard WebServices call is initiated

mixed
__get($variable)

Magic Function to initialize object on first access of magic properties

mixed
call(string $function)

Wrapper for magic function

bool
checkRepoAuthentication($options)

Connects to the repository WSDL and checks if it returns a 401 / Authentication Error

bool
checkRepoSSL()

Checks if a SSL connection can be established with the Repo server.

bool
function_exists(string $function)

Checks wether a certain function is available on the connect server side

array|null
getFunctionDetails(string $function)

Returns the function detail parameters for this function.

SoapClient
getSoapClient(string $wsdlUrl, array $options)

No description

array
get_encoded_license_info()

Check License

array
get_license_info(bool $from_cache = false)

No description

array
get_licensed_modules()

Returns a list with all module ids (names) that are included in the current license.

string
get_my_ip()

Returns the current public IP address if possible

set_connection_config_value(mixed $key, mixed $value)

Sets an config value for the connection.

Details

at line 218
array __call($function_name, $args)

Magic Function If started with underscore the call is handled by the connect call dispatcher, e.g. call Connect Function like ->lib->connect->_send_sms($param1, $param2); Otherwise a standard WebServices call is initiated

Parameters

$function_name
$args

Return Value

array

Returns NULL if error during call. Otherwise a result array is returned

at line 198
mixed __get($variable)

Magic Function to initialize object on first access of magic properties

Parameters

$variable

Return Value

mixed

at line 360
mixed call(string $function)

Wrapper for magic function

Parameters

string $function

Return Value

mixed

at line 466
bool checkRepoAuthentication($options)

Connects to the repository WSDL and checks if it returns a 401 / Authentication Error

Parameters

$options

Return Value

bool

Returns FALSE in case of an error

at line 499
bool checkRepoSSL()

Checks if a SSL connection can be established with the Repo server.

Return Value

bool

at line 298
bool function_exists(string $function)

Checks wether a certain function is available on the connect server side

Parameters

string $function

Function Name

Return Value

bool

at line 316
array|null getFunctionDetails(string $function)

Returns the function detail parameters for this function.

Parameters

string $function

Function name

Return Value

array|null

Function parameters

at line 50
protected SoapClient getSoapClient(string $wsdlUrl, array $options)

No description

Parameters

string $wsdlUrl

SoapService URL

array $options

Return Value

SoapClient

at line 374
array get_encoded_license_info()

Check License

Return Value

array

at line 434
array get_license_info(bool $from_cache = false)

No description

Parameters

bool $from_cache

Return Value

array

at line 413
array get_licensed_modules()

Returns a list with all module ids (names) that are included in the current license.

Return Value

array

An array containing module ids (names)

at line 446
string get_my_ip()

Returns the current public IP address if possible

Return Value

string

at line 189
set_connection_config_value(mixed $key, mixed $value)

Sets an config value for the connection.

Parameters

mixed $key
mixed $value