index deead42afbf482258c3e1b4a8d958ef2fb70c85b..941203e24aa8ef958e81f8bfd95dfdc83aaf69ad 100644 (file)
class componenttabs extends tabs
{
- function componenttabs($config, $data, $dn)
+ function componenttabs($config, $data, $dn,$category)
{
- tabs::tabs($config, $data, $dn);
+ tabs::tabs($config, $data, $dn,$category);
+
+ /* Add references/acls/snapshots */
+ $this->addSpecialTabs();
}
function save_object($save_current= FALSE)
}
- function save()
+ function save($ignore_account= FALSE)
{
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
- $baseobject= $this->by_object['componentgeneric'];
+ $baseobject= $this->by_object['componentGeneric'];
$this->dn= "cn=$baseobject->cn,ou=netdevices,ou=systems,".$baseobject->base;
+ $baseobject->dn= $this->dn;
foreach ($this->by_object as $key => $obj){
$this->by_object[$key]->dn= $this->dn;
}
tabs::save(TRUE);
+
+ /* Fix tagging if needed */
+ $baseobject->handle_object_tagging();
}
}