name=($p_name==null)?$this->name:$p_name; $this->value=($p_value==null)?$this->value:$p_value; if ( $this->readOnly==true) return $this->display(); if( $this->id=="") $this->id=self::generate_id($this->name); $r=''. ''; $r.=' '; return $r; } /*!\brief print in html the readonly value of the widget*/ public function display() { $r=" : ".$this->value; $r.=''; return $r; } static public function test_me() { } }