protected function get_legacy_eventdata() {
        $data = new \stdClass();
        $data->cohortid = $this->objectid;
        $data->userid = $this->relateduserid;
        return $data;
    }
protected function get_legacy_eventdata() {
        $data = new \stdClass();
        $data->cohortid = $this->objectid;
        $data->userid = $this->relateduserid;
        return $data;
    }
protected function get_legacy_eventdata ( ) { $ data = new \ stdClass ( ) ; $ data -> cohortid = $ this -> objectid ; $ data -> userid = $ this -> relateduserid ; return $ data ; }
Return legacy event data.

@return \stdClass
Return legacy event data .