Code

Added first shot on item configuration
[gosa.git] / gosa-plugins / goto / admin / systems / goto / Config / class_TemplateWidget.inc
1 <?php
3 class TemplateWidget
4 {
5     private $name = "unnamed";
6     private $value = "";
8     function __construct(&$config, $name, $value)
9     {
10         $this->name = $name;
11         $this->value = $value;
12         $this->config = &$config;
13     }
16     function render()
17     {
18         return("<input type='text' name=\"{$this->name}\" value=\"".set_post($this->value)."\">");
19     }
21     function save_object()
22     {
23     }
25     function getValue()
26     {
27     }
29     function getName()
30     {
31         return($this->name);
32     }
34     function setValue()
35     {
36     }
38 }
40 ?>