function getCmdLink($cmd, $title, $comment) { $link = JCommentsFactory::getCmdLink($cmd, $comment->id); return '<a href="' . $link . '" title="' . $title . '" target="_blank">' . $title . '</a>'; }