Code

Added snapshot ability
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Oct 2009 12:02:11 +0000 (12:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Oct 2009 12:02:11 +0000 (12:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14636 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_management.inc

index 21bdd4743dcfbda96e8a887735e2ff81f9f8c295..3c920ecdd549ab5843270196aaeceefbb4dfec26 100644 (file)
@@ -44,6 +44,8 @@ class management
   protected $cpHandler = null;
   protected $cpPastingStarted = FALSE;
  
+  protected $snapHandler = null;
+
   // Private
   private $plugname = "";
   private $headpage = null;
@@ -58,6 +60,7 @@ class management
     $this->config = $config;
 
     if($this->cpHandler) $this->headpage->setCopyPasteHandler($this->cpHandler);
+    if($this->snapHandler) $this->headpage->setSnapshotHandler($this->snapHandler);
 
     if(empty($this->plIcon)){
       $this->plIcon = "plugins/".$plugname."/images/plugin.png";