Beispiel #1
0
    public function getPageContent(Website $website, Request $request)
    {
        // Display
        $textToDisplay = <<<EOT
            <div id="sidebar_page_sidebar">
                <h3 class="notable">{$this->user->getDisplayName()}</h3>
                <p><img src="{$this->user->getAvatarUrl()}" style="max-width: 95%" /></p>
                {$this->get_edit_links_html($website)}
            </div>
            <div id="sidebar_page_content">
                {$this->get_status_html($website)}
                {$this->get_articles_html($website)}
                {$this->get_comments_html($website)}
            </div>
            
EOT;
        return $textToDisplay;
    }