Code

Ensure we either call the plugins constructor or manually set the initTime variable...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 2 Aug 2010 10:08:01 +0000 (10:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 2 Aug 2010 10:08:01 +0000 (10:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19324 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index d49555a2a2d0790ebf5efd6d9ae8e7fea9c4f2a4..b14b2de3ef7e8adafa5ddd45920637b8850b12da 100644 (file)
@@ -179,6 +179,17 @@ class systemManagement extends management
     }
 
 
+    function getAclCategories()
+    {
+        $ret = array();
+        $tDefs= $this->getObjectDefinitions();
+        foreach($tDefs as $type => $data){
+            $ret[] = $data['aclCategory'];
+        }
+        return(array_unique($ret));
+    }
+
+
     /*! \brief  This method is used to queue and process copy&paste actions.
      *          Allows to copy, cut and paste mutliple entries at once.
      *  @param  String  'action'  The name of the action which was the used as trigger.