name = $name; $this->text = get_POST_var($name); // hmmmm I wonder if we have to sanitise? } function get() { return $this->text; } function input($type, $name, $value = '') { return ""; } function toForm(&$lines) { $action = ""; $lines[] = "
"; $lines[] = " "; $lines[] = "
" . "Term:" . " "; $lines[] = " " . $this->input('text', $this->name, $this->get()) . " "; $lines[] = " " . ""; " "; $lines[] = "
"; $lines[] = "
"; } } ?>