EmailController::commentNotifyAction PHP Méthode

commentNotifyAction() public méthode

public commentNotifyAction ( )
    public function commentNotifyAction()
    {
        if ($this->_getParam('user', false)) {
            $this->view->username = $this->_getParam('user')->getUsername();
        }
        $article = $this->_getParam('article');
        $this->view->articleLink = $this->getArticleLink($article);
        $this->view->article = new \MetaArticle($article->getLanguageId(), $article->getArticleNumber());
        $this->view->comment = $this->_getParam('comment');
    }