_type = $type; $this->_softkeys = array(); } function render() { $xml = "_type != '') $xml .= " type=\"".$this->_type."\""; if($this->_password != '') $xml .= " password=\"".$this->_password."\""; if($this->_editable != '') $xml .= " editable=\"".$this->_editable."\""; $xml .= ">\n"; if($this->_prompt != '') { $xml .= "_promptcolor != '') $xml .= " Color=\"{$this->_promptcolor}\""; $xml .= ">".$this->_prompt."\n"; } if($this->_parameter != '') { $xml .= "_fieldcolor != '') $xml .= " Color=\"{$this->_fieldcolor}\""; if($this->_fieldbcolor != '') $xml .= " Bcolor=\"{$this->_fieldbcolor}\""; $xml .= ">".$this->_parameter."\n"; } if($this->_selection != '') $xml .= "".$this->_selection."\n"; if($this->_default != '') $xml .= "".$this->_default."\n"; if($this->_choiceURL != '') $xml .= "".$this->_choiceURL."\n"; foreach ($this->_softkeys as $softkey) $xml .= $softkey->render(); $xml .= "\n"; return($xml); } } ?>