original_string: protected function number($number) {
          if (trim($number) === '') {
              return '';
          }
          $numbertext = '';
          if (trim($number) === 'i') {
              $numbertext = get_string('information', 'question');
          } else {
              $numbertext = get_string('questionx', 'question',
                      html_writer::tag('span', $number, array('class' => 'qno')));
          }
          return html_writer::tag('h3', $numbertext, array('class' => 'no'));
      }
code: protected function number($number) {
          if (trim($number) === '') {
              return '';
          }
          $numbertext = '';
          if (trim($number) === 'i') {
              $numbertext = get_string('information', 'question');
          } else {
              $numbertext = get_string('questionx', 'question',
                      html_writer::tag('span', $number, array('class' => 'qno')));
          }
          return html_writer::tag('h3', $numbertext, array('class' => 'no'));
      }
code_tokens: protected function number ( $ number ) { if ( trim ( $ number ) === '' ) { return '' ; } $ numbertext = '' ; if ( trim ( $ number ) === 'i' ) { $ numbertext = get_string ( 'information' , 'question' ) ; } else { $ numbertext = get_string ( 'questionx' , 'question' , html_writer :: tag ( 'span' , $ number , array ( 'class' => 'qno' ) ) ) ; } return html_writer :: tag ( 'h3' , $ numbertext , array ( 'class' => 'no' ) ) ; }
docstring: Generate the display of the question number.
  @param string|null $number The question number to display. 'i' is a special
  value that gets displayed as Information. Null means no number is displayed.
  @return HTML fragment.
docstring_tokens: Generate the display of the question number .