public function get_document_display_title(\core_search\document $doc) {

        $user = \core_user::get_user($doc->get('itemid'));
        return fullname($user);
    }
public function get_document_display_title(\core_search\document $doc) {

        $user = \core_user::get_user($doc->get('itemid'));
        return fullname($user);
    }
public function get_document_display_title ( \ core_search \ document $ doc ) { $ user = \ core_user :: get_user ( $ doc -> get ( 'itemid' ) ) ; return fullname ( $ user ) ; }
Returns the user fullname to display as document title

@param \core_search\document $doc
@return string User fullname
Returns the user fullname to display as document title