public static function get_page_rotation($gradeid, $pageno) {
        global $DB;
        $result = $DB->get_record('assignfeedback_editpdf_rot', array('gradeid' => $gradeid, 'pageno' => $pageno));
        return $result;
    }
public static function get_page_rotation($gradeid, $pageno) {
        global $DB;
        $result = $DB->get_record('assignfeedback_editpdf_rot', array('gradeid' => $gradeid, 'pageno' => $pageno));
        return $result;
    }
public static function get_page_rotation ( $ gradeid , $ pageno ) { global $ DB ; $ result = $ DB -> get_record ( 'assignfeedback_editpdf_rot' , array ( 'gradeid' => $ gradeid , 'pageno' => $ pageno ) ) ; return $ result ; }
Get Page Rotation Value.
@param int $gradeid grade id.
@param int $pageno page number.
@return mixed
@throws \dml_exception
Get Page Rotation Value .