Backend\Modules\Blog\Actions\Comments::parse PHP Method

parse() protected method

Parse & display the page
protected parse ( )
    protected function parse()
    {
        parent::parse();
        // published datagrid and num results
        $this->tpl->assign('dgPublished', (string) $this->dgPublished->getContent());
        $this->tpl->assign('numPublished', $this->dgPublished->getNumResults());
        // moderation datagrid and num results
        $this->tpl->assign('dgModeration', (string) $this->dgModeration->getContent());
        $this->tpl->assign('numModeration', $this->dgModeration->getNumResults());
        // spam datagrid and num results
        $this->tpl->assign('dgSpam', (string) $this->dgSpam->getContent());
        $this->tpl->assign('numSpam', $this->dgSpam->getNumResults());
    }