original_string: protected function render_workshop_example_submission(workshop_example_submission $example) {
  
          $o  = '';    // output HTML code
          $classes = 'submission-full example';
          $o .= $this->output->container_start($classes);
          $o .= $this->output->container_start('header');
          $o .= $this->output->container(format_string($example->title), array('class' => 'title'));
          $o .= $this->output->container_end(); // end of header
  
          $content = file_rewrite_pluginfile_urls($example->content, 'pluginfile.php', $this->page->context->id,
                                                          'mod_workshop', 'submission_content', $example->id);
          $content = format_text($content, $example->contentformat, array('overflowdiv'=>true));
          $o .= $this->output->container($content, 'content');
  
          $o .= $this->helper_submission_attachments($example->id, 'html');
  
          $o .= $this->output->container_end(); // end of submission-full
  
          return $o;
      }
code: protected function render_workshop_example_submission(workshop_example_submission $example) {
  
          $o  = '';    // output HTML code
          $classes = 'submission-full example';
          $o .= $this->output->container_start($classes);
          $o .= $this->output->container_start('header');
          $o .= $this->output->container(format_string($example->title), array('class' => 'title'));
          $o .= $this->output->container_end(); // end of header
  
          $content = file_rewrite_pluginfile_urls($example->content, 'pluginfile.php', $this->page->context->id,
                                                          'mod_workshop', 'submission_content', $example->id);
          $content = format_text($content, $example->contentformat, array('overflowdiv'=>true));
          $o .= $this->output->container($content, 'content');
  
          $o .= $this->helper_submission_attachments($example->id, 'html');
  
          $o .= $this->output->container_end(); // end of submission-full
  
          return $o;
      }
code_tokens: protected function render_workshop_example_submission ( workshop_example_submission $ example ) { $ o = '' ; // output HTML code $ classes = 'submission-full example' ; $ o .= $ this -> output -> container_start ( $ classes ) ; $ o .= $ this -> output -> container_start ( 'header' ) ; $ o .= $ this -> output -> container ( format_string ( $ example -> title ) , array ( 'class' => 'title' ) ) ; $ o .= $ this -> output -> container_end ( ) ; // end of header $ content = file_rewrite_pluginfile_urls ( $ example -> content , 'pluginfile.php' , $ this -> page -> context -> id , 'mod_workshop' , 'submission_content' , $ example -> id ) ; $ content = format_text ( $ content , $ example -> contentformat , array ( 'overflowdiv' => true ) ) ; $ o .= $ this -> output -> container ( $ content , 'content' ) ; $ o .= $ this -> helper_submission_attachments ( $ example -> id , 'html' ) ; $ o .= $ this -> output -> container_end ( ) ; // end of submission-full return $ o ; }
docstring: Renders full workshop example submission
  
  @param workshop_example_submission $example
  @return string HTML
docstring_tokens: Renders full workshop example submission