config = &$config; $this->name = $name; $this->value = $value; $this->description = $description; $this->required = $required; $this->type = $type; $this->display = $display; $class = get_class(); $this->postName = "{$class}_{$this->name}"; } function render() { return("{$this->display} postName}\" value=\"".set_post($this->value)."\">"); } function save_object() { if(isset($_POST[$this->postName])){ $this->value = get_post($this->postName); } } function getValue() { return($this->value); } function getName() { return($this->name); } function setValue($value) { $this->value = $value; } } ?>