not working ui property manager update start

This commit is contained in:
kremsy committed 2017-04-21 21:09:21 +02:00
1 parent 25089d97e8
commit a77b901f78
4 files changed
+104 -3

No files matched your search

@@ -24,7 +24,7 @@ class UIPropertiesBaseStructure extends BaseResponseStructure {
*/
public function __construct(ManiaControl $maniaControl, $data) {
parent::__construct($maniaControl, $data);
$this->uiPropertiesXML = $data[1];
$this->uiPropertiesJson = $data[2];
}
@@ -55,4 +55,13 @@ class UIPropertiesBaseStructure extends BaseResponseStructure {
public function getUiPropertiesObject() {
return json_decode($this->uiPropertiesJson);
}
/**
* Gets the UI Properties as JSON Decoded Array
*
* @return mixed
*/
public function getUiPropertiesArray() {
return json_decode($this->uiPropertiesJson, true);
}
}