FacturaScripts

TelemetryManager

This class allow sending telemetry data to the master server, ONLY if the user has registered this installation.

Table of Contents

TELEMETRY_URL 'https://facturascripts.com/Telemetry'
UPDATE_INTERVAL Weekly update 604800
$appSettings AppSettings
$idinstall int
$lastupdate int
$signkey string
__construct() mixed
claimUrl() string
id() mixed
install() bool
ready() bool
signUrl() string
update() bool
calculateHash() mixed
collectData() array
save() mixed

Constants

TELEMETRY_URL

mixed $TELEMETRY_URL = 'https://facturascripts.com/Telemetry'

Properties

Methods

signUrl()

public signUrl( $url : string ) : string
Parameters
$url : string
Return values
string

calculateHash()

private calculateHash( &$data : array ) : mixed
Parameters
$data : array
Return values
mixed

collectData()

private collectData( [ $minimum : bool = false ] ) : array
Parameters
$minimum : bool = false
Return values
array

Search results