protected function get_course_from_rowdata($rowdata) {
        $course = new \stdClass();
        $course->id = $rowdata->subcourseid;
        $course->visible = $rowdata->coursevisible;
        $course->cacherev = $rowdata->coursecacherev;
        return $course;
    }
protected function get_course_from_rowdata($rowdata) {
        $course = new \stdClass();
        $course->id = $rowdata->subcourseid;
        $course->visible = $rowdata->coursevisible;
        $course->cacherev = $rowdata->coursecacherev;
        return $course;
    }
protected function get_course_from_rowdata ( $ rowdata ) { $ course = new \ stdClass ( ) ; $ course -> id = $ rowdata -> subcourseid ; $ course -> visible = $ rowdata -> coursevisible ; $ course -> cacherev = $ rowdata -> coursecacherev ; return $ course ; }
Returns a partial course record, created from properties of the supplied recordset row object.
Intended to return a minimal record for specific use within this class and in subsequent access control calls only.

@since 3.2.0
@param \stdClass $rowdata the row object.
@return \stdClass a partial course record.
Returns a partial course record created from properties of the supplied recordset row object . Intended to return a minimal record for specific use within this class and in subsequent access control calls only .