Code

Starting move
[gosa.git] / gosa-core / plugins / 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";
9   /* attribute list for save action */
10   var $attributes= array();
11   var $objectclasses= array();
12   var $ldif;
14   function ldif (&$config)
15   {
16     /* Include config object */
17     $this->ldif= new ldiftab($config, $config->data['TABS']['LDIFTAB'], "");
18   }
20   function execute()
21   {
22         /* Call parent execute */
23         plugin::execute();
25     /* Show main page */
26     return ($this->ldif->execute());
27   }
29   /* Return plugin informations for acl handling
30      #FIXME You can only read attributes within this report plugin */
31   static function plInfo()
32   {
33     return (array(
34         "plShortName"   => _("Ldap manager"),
35         "plDescription" => "Dummy entry for menu creation functions, later",
36         "plSelfModify"  => FALSE,
37         "plDepends"     => array(),
38         "plPriority"    => 1,
39         "plSection"     => array("addon"),
40         "plCategory"    => array("ldapmanager" => array("objectClass" => "none", "description" => _("Ldap manager addon"))),
42         "plProvidedAcls" => array()
43         ));
44   }
48 }
51 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
52 ?>