[gosa.git] / branches / old / gosa-plugins / goto / admin / applications / class_applicationParameters.inc
diff --git a/branches/old/gosa-plugins/goto/admin/applications/class_applicationParameters.inc b/branches/old/gosa-plugins/goto/admin/applications/class_applicationParameters.inc
index fecd5927e27a0bf6b5fda5e086222958620f37cf..bfc6a855541b04a5c47dba0fc819d07b30ed9ac8 100644 (file)
/* attribute list for save action */
var $attributes= array("gosaApplicationParameter");
- var $objectclasses= array();
-
- var $CopyPasteVars = array("option_name","option_value");
function applicationParameters (&$config, $dn= NULL, $parent= NULL)
{
$this->handle_post_events('modify');
}
+ function PrepareForCopyPaste($source)
+ {
+ plugin::PrepareForCopyPaste($source);
+
+ $source_o = new applicationParameters($this->config,$source['dn']);
+ $this->option_name = $source_o->option_name;
+ $this->option_value = $source_o->option_value;
+
+ /* Set is_account state so that the save function is called properly */
+ $this->is_account = TRUE;
+ }
+
/* Return plugin informations for acl handling
#FIXME FAIscript seams to ununsed within this class... */
static function plInfo()