... * if readonly == true then display the label corresponding to the selected value * You can use also $this->rowsize to specify the number of lines to display * * @see Database::make_array */ require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; class ISelect extends HtmlInput { /*!\brief show the html input of the widget*/ public function input($p_name=null,$p_value=null) { $this->name=($p_name==null)?$this->name:$p_name; $this->value=($p_value==null)?$this->value:$p_value; if ( $this->readOnly==true) return $this->display(); $style=(isset($this->style))?$this->style:""; $this->id=($this->id=="")?$this->name:$this->id; $disabled=($this->disabled==true)?"disabled":""; $rowsize = (isset ($this->rowsize)) ? ' size = "'.$this->rowsize.'"':""; $r=""; $a=""; if ( $this->table == 1 ) $a='