public static function get_comment($commentid) {
        $record = $DB->get_record('assignfeedback_editpdf_cmnt', array('id'=>$commentid), '*', IGNORE_MISSING);
        if ($record) {
            return new comment($record);
        }
        return false;
    }
public static function get_comment($commentid) {
        $record = $DB->get_record('assignfeedback_editpdf_cmnt', array('id'=>$commentid), '*', IGNORE_MISSING);
        if ($record) {
            return new comment($record);
        }
        return false;
    }
public static function get_comment ( $ commentid ) { $ record = $ DB -> get_record ( 'assignfeedback_editpdf_cmnt' , array ( 'id' => $ commentid ) , '*' , IGNORE_MISSING ) ; if ( $ record ) { return new comment ( $ record ) ; } return false ; }
Get a single comment by id.
@param int $commentid
@return comment or false
Get a single comment by id .