public function col_userid($row) : string {
        if (empty($row->userid)) {
            return '';
        }

        $user = (object) [];
        username_load_fields_from_object($user, $row, 'user');

        return fullname($user);
    }
public function col_userid($row) : string {
        if (empty($row->userid)) {
            return '';
        }

        $user = (object) [];
        username_load_fields_from_object($user, $row, 'user');

        return fullname($user);
    }
public function col_userid ( $ row ) : string { if ( empty ( $ row -> userid ) ) { return '' ; } $ user = ( object ) [ ] ; username_load_fields_from_object ( $ user , $ row , 'user' ) ; return fullname ( $ user ) ; }
Format the user cell.

@param   \stdClass $row
@return  string
Format the user cell .