public function prepare_submission_summary(stdClass $record, $showauthor = false) {

        $summary        = new workshop_submission_summary($this, $record, $showauthor);
        $summary->url   = $this->submission_url($record->id);

        return $summary;
    }
public function prepare_submission_summary(stdClass $record, $showauthor = false) {

        $summary        = new workshop_submission_summary($this, $record, $showauthor);
        $summary->url   = $this->submission_url($record->id);

        return $summary;
    }
public function prepare_submission_summary ( stdClass $ record , $ showauthor = false ) { $ summary = new workshop_submission_summary ( $ this , $ record , $ showauthor ) ; $ summary -> url = $ this -> submission_url ( $ record -> id ) ; return $ summary ; }
Prepares renderable submission summary component

@param stdClass $record required by {@see workshop_submission_summary}
@param bool $showauthor show the author-related information
@return workshop_submission_summary
Prepares renderable submission summary component