Beispiel #1
0
 /**
  * Executes the widget.
  */
 public function run()
 {
     $editUrl = $this->wallEntryWidget->getEditUrl();
     if ($editUrl !== "" && $this->content->content->canWrite()) {
         return $this->render('editLink', array('id' => $this->content->content->object_id, 'content' => $this->content, 'editUrl' => $editUrl));
     }
 }