noalyss
Version-6.7.2
|
Public Member Functions | |
display () | |
print in html the readonly value of the widget | |
input ($p_name=null, $p_value=null) | |
show the html input of the widget | |
Static Public Member Functions | |
static | test_me () |
Definition at line 26 of file class_itextarea.php.
ITextarea::input | ( | $ | p_name = null , |
$ | p_value = null |
||
) |
show the html input of the widget
Definition at line 29 of file class_itextarea.php.
References $r, display(), name, readOnly, style, and value.
{ $this->name=($p_name==null)?$this->name:$p_name; $this->value=($p_value==null)?$this->value:$p_value; if ( !isset ($this->style )) $this->style=' class="itextarea" '; $this->id=($this->id=="")?$this->name:$this->id; if ( $this->readOnly==true) return $this->display(); $r=""; $r.='<TEXTAREA '.$this->style.' name="'.$this->name.'" id="'.$this->id.'"'; $r.='>'; $r.=$this->value; $r.="</TEXTAREA>"; return $r; }
static ITextarea::test_me | ( | ) | [static] |
Definition at line 58 of file class_itextarea.php.
{ }