Frontend\Modules\Blog\Actions\Index::parse PHP Метод

parse() приватный Метод

Parse the data into the template
private parse ( )
    private function parse()
    {
        // get RSS-link
        $rssLink = FrontendNavigation::getURLForBlock('Blog', 'Rss');
        // add RSS-feed
        $this->header->addLink(array('rel' => 'alternate', 'type' => 'application/rss+xml', 'title' => $this->get('fork.settings')->get('Blog', 'rss_title_' . LANGUAGE), 'href' => $rssLink), true);
        // assign articles
        $this->tpl->assign('items', $this->items);
        // parse the pagination
        $this->parsePagination();
    }