_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 .= "".$this->_prompt."\n"; if($this->_parameter != '') $xml .= "".$this->_parameter."\n"; if($this->_default != '') $xml .= "".$this->_default."\n"; foreach ($this->_softkeys as $softkey) $xml .= $softkey->render(); $xml .= "\n"; return($xml); } } ?>