From fe6ac16498b05d0f0c8ed7fda394273815d3d6da Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 23 May 2014 20:49:02 +0200 Subject: Stuff (WIP) --- inc/property.inc.php | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'inc/property.inc.php') diff --git a/inc/property.inc.php b/inc/property.inc.php index a1c252a5..c6f3e8ad 100644 --- a/inc/property.inc.php +++ b/inc/property.inc.php @@ -54,5 +54,25 @@ class Property { self::set('server-ip', $value); } + + public static function getIPxeIp() + { + return self::get('ipxe-ip', 'none'); + } + + public static function setIPxeIp($value) + { + self::set('ipxe-ip', $value); + } + + public static function getIPxeTaskId() + { + return self::get('ipxe-task'); + } + + public static function setIPxeTaskId($value) + { + self::set('ipxe-task', $value); + } -} \ No newline at end of file +} -- cgit v1.2.3-55-g7522