1 <?php
3 class faiPackageConfiguration extends plugin
4 {
5 /* CLI vars */
6 var $cli_summary = "Manage server basic objects";
7 var $cli_description = "Some longer text\nfor help";
8 var $cli_parameters = array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
10 /* attribute list for save action */
11 var $ignore_account = TRUE;
12 var $attributes = array();
13 var $objectclasses = array();
15 var $obj;
17 function faiPackageConfiguration ($config, $dn= NULL,$obj)
18 {
19 plugin::plugin ($config, $dn);
20 $this->obj = $obj;
21 }
23 function execute()
24 {
25 /* Call parent execute */
26 plugin::execute();
27 /* Fill templating stuff */
28 $smarty = get_smarty();
29 $display = "";
30 $display.= $smarty->fetch(get_template_path('faiPackageConfiguration.tpl', TRUE));
31 return($display);
32 }
34 /* Save data to object */
35 function save_object()
36 {
37 }
39 /* Check supplied data */
40 function check()
41 {
42 $message= array();
43 return ($message);
44 }
46 function save()
47 {
48 }
49 }
50 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
51 ?>