summaryrefslogtreecommitdiffstats
path: root/inc/property.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-05-24 18:42:23 +0200
committerSimon Rettberg2014-05-24 18:42:23 +0200
commitee27ec0d2bc44fece8b438a4ea58ac956198d300 (patch)
tree29c7e34925d5525a60fcfca081725cd4a845e635 /inc/property.inc.php
parentStuff (WIP) (diff)
downloadslx-admin-ee27ec0d2bc44fece8b438a4ea58ac956198d300.tar.gz
slx-admin-ee27ec0d2bc44fece8b438a4ea58ac956198d300.tar.xz
slx-admin-ee27ec0d2bc44fece8b438a4ea58ac956198d300.zip
WIP
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));
+ }
}