Code

Added remove multiple entries to macro list
[gosa.git] / plugins / addons / ldapmanager / class_ldif.inc
1 <?php
2 require_once("tabs_ldif.inc");
4 class ldif extends plugin
5 {
6   /* Definitions */
7   var $plHeadline= "LDAP manager";
8   var $plDescription= "This does something";
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   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 addon"))),
43         "plProvidedAcls" => array()
44         ));
45   }
49 }
52 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
53 ?>