/** * @return string */ public function toHtml() { $this->setEntity($this->kommentar); $this->setVar('imgsrc', $this->kommentar->getImageUrl()); $this->setVar('id', $this->kommentar->id); return $this->renderBySkin(); }