original_string: protected function get_subscription_from_rowdata($rowdata) {
          $sub = new \stdClass();
          $sub->id = $rowdata->subid;
          $sub->userid = $rowdata->subuserid;
          $sub->courseid = $rowdata->subcourseid;
          $sub->cmid = $rowdata->subcmid;
          $sub->inactivedate = $rowdata->subinactivedate;
          return $sub;
      }
code: protected function get_subscription_from_rowdata($rowdata) {
          $sub = new \stdClass();
          $sub->id = $rowdata->subid;
          $sub->userid = $rowdata->subuserid;
          $sub->courseid = $rowdata->subcourseid;
          $sub->cmid = $rowdata->subcmid;
          $sub->inactivedate = $rowdata->subinactivedate;
          return $sub;
      }
code_tokens: protected function get_subscription_from_rowdata ( $ rowdata ) { $ sub = new \ stdClass ( ) ; $ sub -> id = $ rowdata -> subid ; $ sub -> userid = $ rowdata -> subuserid ; $ sub -> courseid = $ rowdata -> subcourseid ; $ sub -> cmid = $ rowdata -> subcmid ; $ sub -> inactivedate = $ rowdata -> subinactivedate ; return $ sub ; }
docstring: Returns a partial subscription 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 subscription record.
docstring_tokens: Returns a partial subscription 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 .