name=($p_name==null)?$this->name:$p_name; $this->value=($p_value==null)?$this->value:$p_value; if ( $this->readOnly==true) return $this->display(); $check=( $this->selected==true||$this->selected=='t' )?"checked":"unchecked"; $r='value\""; $r.=($this->javascript !='')? 'onclick="'.$this->javascript.'"':''; $r.=" $check > "; return $r; } /*!\brief print in html the readonly value of the widget*/ public function display() { $check=( $this->selected==true || $this->selected=='t' )?"Yes":"no"; $r=$check; return $r; } static public function test_me() { } }