summaryrefslogtreecommitdiffstats
path: root/inc/property.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/property.inc.php')
-rw-r--r--inc/property.inc.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/property.inc.php b/inc/property.inc.php
index c6f3e8ad..d186193a 100644
--- a/inc/property.inc.php
+++ b/inc/property.inc.php
@@ -74,5 +74,15 @@ class Property
{
self::set('ipxe-task', $value);
}
+
+ public static function getBootMenu()
+ {
+ return json_decode(self::get('ipxe-menu'), true);
+ }
+
+ public static function setBootMenu($value)
+ {
+ self::set('ipxe-menu', json_encode($value));
+ }
}