33 public function input($p_name=
null, $p_value=
null)
35 $this->
name = ($p_name ==
null) ? $this->
name : $p_name;
36 $this->
value = ($p_value ==
null) ? $this->
value : $p_value;
41 $r =
'<input type="RADIO" name="' . $this->
name .
'"';
42 $r.=
" VALUE=\"$this->value\"";
43 $r.=
' class="css-checkbox" ';
65 if ($this->
value == $p_value)
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
set_check($p_value)
set selected to true (checked) if the value equal the parameter
display()
print in html the readonly value of the widget
input($p_name=null, $p_value=null)
show the html input of the widget