From ee27ec0d2bc44fece8b438a4ea58ac956198d300 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sat, 24 May 2014 18:42:23 +0200 Subject: WIP --- inc/property.inc.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'inc/property.inc.php') 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)); + } } -- cgit v1.2.3-55-g7522