Code

Added - to be valid in description for FAI objects.
[gosa.git] / plugins / gofon / conference / tabs_conference.inc
1 <?php
3 class conferencetabs extends tabs
4 {
5   var $base= "";
7   function conferencetabs($config, $data, $dn)
8   {
9           tabs::tabs($config, $data, $dn);
10           $this->base= $this->by_object['conference']->base; 
11   }
13   function check()
14   {
15         return (tabs::check(TRUE));
16   }
17   
19   function save()
20   {
21         $baseobject= $this->by_object['conference'];
22         $new_dn= 'cn='.$baseobject->cn.','.$baseobject->base;
24         if ($this->dn != $new_dn && $this->dn != "new"){
25                 $baseobject->recursive_move($this->dn, $new_dn);
26         }
27         $this->dn= $new_dn;
29         tabs::save(TRUE);
30   }
32 }
34 ?>