Code

Added Department templates.
[gosa.git] / gosa-core / plugins / admin / departments / class_organizationGeneric.inc
1 <?php
2 /*
3  * This code is part of GOsa (http://www.gosa-project.org)
4  * Copyright (C) 2003-2008 GONICUS GmbH
5  *
6  * ID: $$Id: class_departmentGeneric.inc 11085 2008-05-28 10:54:49Z hickert $$
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  */
23 class organization extends department
24 {
25         /* attribute list for save action */
26   var $attributes     = array( "o", "description","userPassword","searchGuide",
27       "seeAlso","businessCategory","x121Address","registeredAddress",
28       "destinationIndicator","preferredDeliveryMethod","telexNumber",
29       "telephoneNumber","internationaliSDNNumber","facsimileTelephoneNumber","street",
30       "postOfficeBox","postalCode", "postalAddress","physicalDeliveryOfficeName",
31       "st","l","teletexTerminalIdentifier");
33   var $objectclasses  = array("top", "organization");
35   /* Attributes 
36    */ 
37   var $st                       ="c";
38   var $l                        ="c";
39   var $description              ="c";
40   var $userPassword             ="c";
41   var $searchGuide              ="c";
42   var $seeAlso                  ="c";
43   var $businessCategory         ="c";
44   var $x121Address              ="c";
45   var $registeredAddress        ="c";
46   var $destinationIndicator     ="c";
47   var $preferredDeliveryMethod  ="c";
48   var $telexNumber              ="c";
49   var $telephoneNumber          ="c";
50   var $internationaliSDNNumber  ="c";
51   var $facsimileTelephoneNumber ="c";
52   var $street                   ="c";
53   var $postOfficeBox            ="c";
54   var $postalCode               ="c";
55   var $postalAddress            ="c";
56   var $teletexTerminalIdentifier="c";
57   var $physicalDeliveryOfficeName="c";
59   /* Naming attributes 
60    */
61   var $o            ="";
62   var $type         = "o";
63   var $orgi_o       = "";
64   var $namingAttr   = "o";
66   function check()
67   {
68     $message = plugin::check();
69     return($message);
70   }
71 }
73 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
74 ?>