summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a425b37)
raw | patch | inline | side by side (parent: a425b37)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 4 Sep 2008 08:06:56 +0000 (08:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 4 Sep 2008 08:06:56 +0000 (08:06 +0000) |
-We are now able to request a list of servers that support a given type of module.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12360 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12360 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index 240d139d37773a44ed650259308df5b62595ec42..979a545503407dc7325043901b852e83fc26071a 100644 (file)
{
return($this->is_connected);
}
-
+
+
+ /*! \brief */
+ public function get_hosts_with_module($mod)
+ {
+ $data = array("module_name" => $mod);
+ $res = $this->send_data("gosa_get_hosts_with_module",$this->s_host.":".$this->i_port,$data,TRUE);
+ $hosts = array();
+ if(isset($res['XML'][0]['HOST'])){
+ foreach($res['XML'][0]['HOST'] as $entry){
+ $hosts [] = $entry['VALUE'];
+ }
+ }
+ return($hosts);
+ }
/*! \brief Disconnect from gosa daemon.