public function col_userid($data) {
        $user = $data->foruser;
        return html_writer::link($user->profileurl, $user->fullname, ['title' => get_string('viewprofile')]);
    }
public function col_userid($data) {
        $user = $data->foruser;
        return html_writer::link($user->profileurl, $user->fullname, ['title' => get_string('viewprofile')]);
    }
public function col_userid ( $ data ) { $ user = $ data -> foruser ; return html_writer :: link ( $ user -> profileurl , $ user -> fullname , [ 'title' => get_string ( 'viewprofile' ) ] ) ; }
The user column.

@param stdClass $data The row data.
@return mixed
The user column .