protected function _inResponseTo(Comment $comment)
    {
        $this->loadModel('Content.Contents');
        $this->Contents->fieldable(false);
        $content = $this->Contents->get($comment->entity_id);

        if ($content) {
            $out = __d('content', '<a href="{0}" target="_blank">{1}</a>', Router::url(['plugin' => 'Content', 'controller' => 'manage', 'action' => 'edit', $content->id]), $content->title);
            $out .= '<br />';
            $out .= __d('content', '<a href="{0}" target="_blank">{1}</a>', Router::url($content->url), 'View content');

            return $out;
        }

        return __d('content', '-- Unknow --');
    }
protected function _inResponseTo(Comment $comment)
    {
        $this->loadModel('Content.Contents');
        $this->Contents->fieldable(false);
        $content = $this->Contents->get($comment->entity_id);

        if ($content) {
            $out = __d('content', '<a href="{0}" target="_blank">{1}</a>', Router::url(['plugin' => 'Content', 'controller' => 'manage', 'action' => 'edit', $content->id]), $content->title);
            $out .= '<br />';
            $out .= __d('content', '<a href="{0}" target="_blank">{1}</a>', Router::url($content->url), 'View content');

            return $out;
        }

        return __d('content', '-- Unknow --');
    }
protected function _inResponseTo ( Comment $ comment ) { $ this -> loadModel ( 'Content.Contents' ) ; $ this -> Contents -> fieldable ( false ) ; $ content = $ this -> Contents -> get ( $ comment -> entity_id ) ; if ( $ content ) { $ out = __d ( 'content' , '<a href="{0}" target="_blank">{1}</a>' , Router :: url ( [ 'plugin' => 'Content' , 'controller' => 'manage' , 'action' => 'edit' , $ content -> id ] ) , $ content -> title ) ; $ out .= '<br />' ; $ out .= __d ( 'content' , '<a href="{0}" target="_blank">{1}</a>' , Router :: url ( $ content -> url ) , 'View content' ) ; return $ out ; } return __d ( 'content' , '-- Unknow --' ) ; }
Renders the description of the entity to which comment is attached to.

@param \Comment\Model\Entity\Comment $comment Comment entity
@return string
Renders the description of the entity to which comment is attached to .