30 public function input($p_name=
"",$p_value=
"")
32 $this->
name=($p_name==
"")?$this->
name:$p_name;
33 $this->
value=($p_value==
"")?$this->
value:$p_value;
34 $this->
id=($this->
id==
"")?$this->
name:$this->
id;
37 if ( $this->
value !=
"")
38 $r=sprintf(
'<span id="%s" class="action"> <A class="action" HREF="%s" %s>%s</A></span>',
44 $r=sprintf(
'<span id="%s" class="action"> <A class="action" href="javascript: %s">%s</A></span>',
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r
input($p_name="", $p_value="")
show the html input of the widget
display()
print in html the readonly value of the widget