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=''.$a.''; return $r.$a; } /*!\brief print in html the readonly value of the widget*/ public function display() { $r=""; for ( $i=0;$ivalue);$i++) { if ($this->selected==$this->value[$i]['value'] ) { $r=h($this->value[$i]['label']); } } if ( $this->table == 1 ) $a=''.$r.''; return $r; } static public function test_me() { } }