_name=$name; $this->_url=$url; $this->_selection=$selection; } function getName() { return($this->_name); } function render() { $name = $this->escape($this->_name); $url = $this->escape($this->_url); $selection = $this->escape($this->_selection); $xml = "\n{$name}\n{$url}\n"; if($selection!=NULL) $xml .= "{$selection}\n"; $xml .= "\n"; return($xml); } } ?>