Beispiel #1
0
 /**
  * Define the widget's content
  * @param  $value  widget's content
  */
 public function setValue($value)
 {
     $value = str_replace('<br>', "\n", $value);
     $value = str_replace('&nbsp;', ' ', $value);
     $this->value = $value;
     parent::set_text($value);
     $this->show();
 }