Code

Added branches container for old stuff
[gosa.git] / gosa-plugins / ldapmanager / addons / ldapmanager / class_ldif.inc
1 <?php
3 class ldif extends plugin
4 {
5   /* Definitions */
6   var $plHeadline= "LDAP manager";
7   var $plDescription= "This does something";
8   var $plIcon = "plugins/ldapmanager/images/ldif.png";
10   /* attribute list for save action */
11   var $attributes= array();
12   var $objectclasses= array();
13   var $ldif;
15   function ldif (&$config)
16   {
17     /* Include config object */
18     $this->ldif= new ldiftab($config, $config->data['TABS']['LDIFTAB'], "");
19   }
21   function execute()
22   {
23         /* Call parent execute */
24         plugin::execute();
26     /* Show main page */
27     return ($this->ldif->execute());
28   }
30   /* Return plugin informations for acl handling
31      #FIXME You can only read attributes within this report plugin */
32   static function plInfo()
33   {
34     return (array(
35         "plShortName"   => _("Ldap manager"),
36         "plDescription" => "Dummy entry for menu creation functions, later",
37         "plSelfModify"  => FALSE,
38         "plDepends"     => array(),
39         "plPriority"    => 1,
40         "plSection"     => array("addon"),
41         "plCategory"    => array("ldapmanager" => array("objectClass" => "none", "description" => _("Ldap manager"))),
43         "plProvidedAcls" => array()
44         ));
45   }
49 }
52 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
53 ?>