diff options
author | Simon Rettberg | 2014-05-24 18:42:23 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-05-24 18:42:23 +0200 |
commit | ee27ec0d2bc44fece8b438a4ea58ac956198d300 (patch) | |
tree | 29c7e34925d5525a60fcfca081725cd4a845e635 /inc/property.inc.php | |
parent | Stuff (WIP) (diff) | |
download | slx-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.php | 10 |
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)); + } } |