name=($p_name=="")?$this->name:$p_name; $this->value=($p_value=="")?$this->value:$p_value; $this->id=($this->id=="")?$this->name:$this->id; if ( $this->readOnly==true) return $this->display(); $this->javascript= (!isset ($this->javascript))?"":$this->javascript; if ( $this->value !="") $r=sprintf(' %s', $this->id, $this->value, $this->javascript, $this->label); else $r=sprintf(' %s', $this->id, $this->javascript, $this->label); return $r; } /*!\brief print in html the readonly value of the widget*/ public function display() { return; } static public function test_me() { } }