not working ui property manager update start

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

View File

@ -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);
}
}