mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-06 10:23:08 +03:00
Add setDebug and getDebug in PHP Publisher
This commit is contained in:
parent
f7fe80e4fa
commit
d5cb8e4815
@ -52,13 +52,14 @@
|
|||||||
|
|
||||||
class EDDN
|
class EDDN
|
||||||
{
|
{
|
||||||
static private $_debug = true;
|
private static $_debug = true;
|
||||||
|
|
||||||
static private $_gateways = array(
|
private static $_gateways = array(
|
||||||
'http://eddn-gateway.elite-markets.net:8080/upload/'
|
'http://eddn-gateway.elite-markets.net:8080/upload/',
|
||||||
|
'http://eddn-gateway.ed-td.space:8080/upload/'
|
||||||
);
|
);
|
||||||
|
|
||||||
static private $_schemas = array(
|
private static $_schemas = array(
|
||||||
'commodity-v1' => array(
|
'commodity-v1' => array(
|
||||||
'production' => 'http://schemas.elite-markets.net/eddn/commodity/1',
|
'production' => 'http://schemas.elite-markets.net/eddn/commodity/1',
|
||||||
'test' => 'http://schemas.elite-markets.net/eddn/commodity/1/test'
|
'test' => 'http://schemas.elite-markets.net/eddn/commodity/1/test'
|
||||||
@ -176,6 +177,8 @@ class EDDN
|
|||||||
{
|
{
|
||||||
return $this->_uploaderID;
|
return $this->_uploaderID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function setSoftwareName($value)
|
public function setSoftwareName($value)
|
||||||
{
|
{
|
||||||
$this->_softwareName = $value;
|
$this->_softwareName = $value;
|
||||||
@ -185,6 +188,8 @@ class EDDN
|
|||||||
{
|
{
|
||||||
return $this->_softwareName;
|
return $this->_softwareName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function setSoftwareVersion($value)
|
public function setSoftwareVersion($value)
|
||||||
{
|
{
|
||||||
$this->_softwareVersion = $value;
|
$this->_softwareVersion = $value;
|
||||||
@ -194,4 +199,15 @@ class EDDN
|
|||||||
{
|
{
|
||||||
return $this->_softwareVersion;
|
return $this->_softwareVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function setDebug($value)
|
||||||
|
{
|
||||||
|
self::$_debug = $value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getDebug()
|
||||||
|
{
|
||||||
|
return self::$_debug;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user