Code

Hardening for class management
[gosa.git] / gosa-core / include / class_plugin.inc
index 333ae0a7e0530895ea30df828656360726fa1e5a..d0c7b8096bfd31744201bd048e780cee134e1764 100644 (file)
  */
 
 class plugin
-{
+{ 
+  /*! \brief    The title shown in path menu while this plugin is visible.
+   */
+  var $pathTitle = "";
+
   /*!
     \brief Reference to parent object
 
@@ -276,6 +280,8 @@ class plugin
     session::set('LOCK_VARS_USED_GET',array());
     session::set('LOCK_VARS_USED_POST',array());
     session::set('LOCK_VARS_USED_REQUEST',array());
+
+    pathNavigator::registerPlugin($this);
   }
 
   /*! \brief Removes object from parent