Code

Added http://servername/ppd/ to gotoPrinterPPD
[gosa.git] / plugins / admin / fai / class_faiPackageConfiguration.inc
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();
28     /* Fill templating stuff */
29     $smarty     = get_smarty();
30     $display = "";
31     $display.= $smarty->fetch(get_template_path('faiPackageConfiguration.tpl', TRUE));
32     return($display);
33   }
35   /* Save data to object */
36   function save_object()
37   {
38   }
40   /* Check supplied data */
41   function check()
42   {
43     $message= array();
44     return ($message);
45   }
47   function save()
48   {
49   }
50 }
51 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
52 ?>