From 1859cc66701fe9ddd940b0af26da93a942b8959e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 28 Sep 2010 13:20:06 +0000 Subject: [PATCH] Added dummy save method git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19836 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/Config/class_DeviceConfig.inc | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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 bfe94e624..9aa0b028a 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc +++ b/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc @@ -18,6 +18,9 @@ class DeviceConfig extends management private $base ; + public $is_account = FALSE; + public $ignore_account = FALSE; + /*! \brief Constructs the device configuration plugin * @param Config The GOsa configuration object. @@ -55,6 +58,8 @@ class DeviceConfig extends management return; } + $this->is_account = TRUE; + // Set current item to 'root', this is the minimum to get things running. $this->addItem($root,'root',array()); $this->setCurrentItem('root'); @@ -316,6 +321,18 @@ class DeviceConfig extends management $this->acl_category = $category; } - function save(){} + function save() + { + foreach($this->currentItemValues as $name => $item){ + foreach($item['values'] as $oName => $oValue){ + echo "
{$name} -- {$item['type']}: {$oName}: {$oValue}"; + } + } + } + + function check() + { + return(array()); + } } ?> -- 2.30.2