protected function get_legacy_eventdata() {
        $eventdata = new \stdClass();
        $eventdata->modulename = $this->other['modulename'];
        $eventdata->cmid       = $this->objectid;
        $eventdata->courseid   = $this->courseid;
        $eventdata->userid     = $this->userid;
        return $eventdata;
    }
protected function get_legacy_eventdata() {
        $eventdata = new \stdClass();
        $eventdata->modulename = $this->other['modulename'];
        $eventdata->cmid       = $this->objectid;
        $eventdata->courseid   = $this->courseid;
        $eventdata->userid     = $this->userid;
        return $eventdata;
    }
protected function get_legacy_eventdata ( ) { $ eventdata = new \ stdClass ( ) ; $ eventdata -> modulename = $ this -> other [ 'modulename' ] ; $ eventdata -> cmid = $ this -> objectid ; $ eventdata -> courseid = $ this -> courseid ; $ eventdata -> userid = $ this -> userid ; return $ eventdata ; }
Legacy event data.

@return \stdClass
Legacy event data .