1 <?php
3 class wintabs extends tabs
4 {
6 function wintabs($config, $data, $dn,$category)
7 {
8 tabs::tabs($config, $data, $dn,$category);
10 /* Add references/acls/snapshots */
11 $this->addSpecialTabs();
12 }
14 function save_object($save_current= FALSE)
15 {
16 tabs::save_object($save_current);
17 }
20 function save()
21 {
22 /* Check for new 'dn', in order to propagate the
23 'dn' to all plugins */
24 $baseobject= $this->by_object['wingeneric'];
25 $this->dn= "uid=$baseobject->cn,ou=winstations,ou=systems,".$baseobject->base;
26 $baseobject->dn= $this->dn;
28 foreach ($this->by_object as $key => $obj){
29 $this->by_object[$key]->dn= $this->dn;
30 }
32 tabs::save(TRUE);
34 /* Fix tagging if needed */
35 $baseobject->handle_object_tagging();
36 }
38 }
40 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
41 ?>