private function setTitle() { $ascii = new AsciiWidgetText($this); $text = '<span class="primary">'; $text .= $this->article->getCategory() . '/'; $text .= '<a href="' . Common::urlFor('view_article', array('token' => $this->article->getToken())) . '">'; $text .= $this->article->getTitle(); $text .= '</a>' . "\n"; $text .= '</span>'; $text .= 'by ' . $this->article->getAuthor() . ', ' . $this->article->getDate(); $ascii->setText($text); $ascii->setBorders(array('top' => '<span class="secondary">-</span>', 'bottom' => '<span class="secondary">-</span>')); $this->addWidget($ascii); }