Code

093d30056f7a0b06dc1ca4e999ec8427c187b05d
[gosa.git] / sudo-ldap / src / class_sudoldapEditRole.inc
1 <?php
3 class sudoldapEditRole extends plugin
4 {
5   /* Plugin specific values */
6   var $attributes       = array("sudoUser", 
7                                 "sudoHost", 
8                                 "sudoCommand", 
9                                 "sudoRunAs", 
10                                 "sudoOption");
11   
12   var $objectclasses    = array("sudoRole");
14   function sudoldapEditRole ($config, $dn= NULL,$attrs = array())
15   {
16     plugin::plugin ($config, $dn);
18   }
20   function execute()
21   {
22     /* Call parent execute */
23     plugin::execute();
26     /* Fill templating stuff */
27     $smarty= get_smarty();
28     $display= "";
30     /* Display template */
31     $display.= $smarty->fetch(
32         get_template_path('sudoldapeditrole.tpl', TRUE));
33     return($display);
34   }
36   /* Save data to object */
37   function save_object()
38   {
39   }
42   /* Check supplied data */
43   function check()
44   {
45   }
48   /* Save to LDAP */
49   function save()
50   {
51   }
53   
54 }
56 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
57 ?>