function __toString() { if (!$this->current_filename) { return $this->toString(); } $id = $this->getAttribute('id'); return '<div id="editablebox_' . $id . '">' . HtmlHelper::absoluteImg($this->base_path . '/' . $this->current_filename) . $this->toString() . '</div>'; }