summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31e2470)
raw | patch | inline | side by side (parent: 31e2470)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Sep 2010 10:05:24 +0000 (10:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Sep 2010 10:05:24 +0000 (10:05 +0000) |
-Added comments and cleaned up a bit.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19867 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19867 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc b/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc
index 18e19b0aab4671167ccce91bbc2407fea12f0846..9f06dbd810a5a86a8fab5e1d099dc206c32001d2 100644 (file)
*/
class DeviceConfig extends management
{
+
+ // Used to render the item-configuration dialog
private $TemplateEngine = NULL;
- private $allConfiguredItems = array();
- private $currentItem = array();
- private $navigationList = NULL;
- public $pl_notify;
- public $read_only;
+ // A list of all configured items for this device.
+ private $allConfiguredItems = array();
+ // The currently active item
+ // Add add and remove action will be performed on this item
+ private $currentItem = array();
+
+ // A baseSelector which will be fed with a simulated
+ // department list. All entries will get a fake base
+ // which can then be used to fill the baseSelector widget.
private $itemContainerSelector = NULL;
+ // The currently selected base within management list.
private $base ;
- public $is_account = FALSE;
- public $ignore_account = FALSE;
+ // This array contains a list of all item-types we can add
+ // to the currently selected item (currentItem)
+ private $addableContainerItems = array();
+ // Due to the fakt that we use a fake 'base/dn' for all items
+ // we've to map this 'base/dn' to the items 'id'.
private $mappingBaseToID = array();
- private $addableContainerItems = array();
+ // Some plugin related memebers which are not member of
+ // the management class. See class plugin.
+ public $is_account = FALSE;
+ public $ignore_account = FALSE;
+ public $pl_notify;
+ public $read_only;
+
/*! \brief Constructs the device configuration plugin
* @param Config The GOsa configuration object.
$this->setCurrentItem($idRoot);
$this->setSelectedListItemID($idRoot);
+ // Add some dummy entries for testing.
$id = $this->addItem('PuppetModule','test1',
array(
'dependency' => array('stulle','Wurst'),