summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 589ac26)
raw | patch | inline | side by side (parent: 589ac26)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Aug 2008 14:05:24 +0000 (14:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Aug 2008 14:05:24 +0000 (14:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12264 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsi/class_opsiware.inc | [new file with mode: 0644] | patch | blob |
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsiware.inc b/gosa-plugins/opsi/admin/opsi/class_opsiware.inc
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+class opsiware extends plugin
+{
+ private $opsi;
+ private $SW_info;
+ private $HW_info;
+ private $hostId;
+
+ public function __construct($config,$hostId)
+ {
+ $this->config = $config;
+ $this->opsi = new opsi($config);
+ $this->hostId = preg_replace("/^opsi:=([^,]*),.*$/","\\1",$hostId);
+ }
+
+ public function execute()
+ {
+ print_a($this->opsi->get_client_hardware($this->hostId));
+
+ }
+
+}
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
+?>