original_string: public function paragraph($contents, $class='') {
          $attributes = array();
          if ($class !== '') {
              $attributes['class'] = $class;
          }
          $output = html_writer::tag('p', $contents, $attributes);
          return $output;
      }
code: public function paragraph($contents, $class='') {
          $attributes = array();
          if ($class !== '') {
              $attributes['class'] = $class;
          }
          $output = html_writer::tag('p', $contents, $attributes);
          return $output;
      }
code_tokens: public function paragraph ( $ contents , $ class = '' ) { $ attributes = array ( ) ; if ( $ class !== '' ) { $ attributes [ 'class' ] = $ class ; } $ output = html_writer :: tag ( 'p' , $ contents , $ attributes ) ; return $ output ; }
docstring: Returns a P tag containing contents
  @param string $contents
  @param string $class
docstring_tokens: Returns a P tag containing contents