diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/property.inc.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/inc/property.inc.php b/inc/property.inc.php index b3d8081a..ba8cb8e1 100644 --- a/inc/property.inc.php +++ b/inc/property.inc.php @@ -245,4 +245,23 @@ class Property return self::get('default-ipxe'); } + public static function getRemoteDebugConfig() + { + return json_decode(self::get('remote-debug-config'), true); + } + + public static function setRemoteDebugConfig($value) + { + return self::set('remote-debug-config', json_encode($value)); + } + + public static function getDebugTaskStruct() + { + return json_decode(self::get('debug-task-struct'), true); + } + + public static function setDebugTaskStruct($value) + { + return self::set('debug-task-struct', json_encode($value)); + } } |