original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Prepares renderable submission summary component