API
in package
AbstractYes
Library to convert idQuake between systems
Table of Contents
Constants
- conversionUrlTemplate = 'https://emidius.mi.ingv.it/services/rosetta/?type=event&input=%s&output=%s&format=json¶meters=yes&id=%s'
Properties
- $from : string
- $idQuake : string
- $reply : array<string|int, mixed>
- $to : string
- $curlErrInfo : string
- $curlErrNum : int
Methods
- curlErrorInfo() : mixed
- curlErrorNumber() : mixed
- fetch() : int
- Try to find the seismic event in DBMI database and its internal ID
- quake() : mixed
- replyIsSet() : bool
Constants
conversionUrlTemplate
public
mixed
conversionUrlTemplate
= 'https://emidius.mi.ingv.it/services/rosetta/?type=event&input=%s&output=%s&format=json¶meters=yes&id=%s'
Properties
$from
protected
string
$from
$idQuake
protected
string
$idQuake
$reply
protected
array<string|int, mixed>
$reply
$to
protected
string
$to
$curlErrInfo
private
string
$curlErrInfo
= ''
$curlErrNum
private
int
$curlErrNum
= 0
Methods
curlErrorInfo()
public
curlErrorInfo() : mixed
curlErrorNumber()
public
curlErrorNumber() : mixed
fetch()
Try to find the seismic event in DBMI database and its internal ID
public
fetch() : int
Return values
int —number of elements found (or -1 on error)
quake()
public
abstract quake() : mixed
replyIsSet()
protected
replyIsSet() : bool