public function question_number($number) {
        if (is_numeric($number)) {
            $number = html_writer::span(get_string('question'), 'accesshide') . ' ' . $number;
        }
        return html_writer::tag('span', $number, array('class' => 'slotnumber'));
    }
public function question_number($number) {
        if (is_numeric($number)) {
            $number = html_writer::span(get_string('question'), 'accesshide') . ' ' . $number;
        }
        return html_writer::tag('span', $number, array('class' => 'slotnumber'));
    }
public function question_number ( $ number ) { if ( is_numeric ( $ number ) ) { $ number = html_writer :: span ( get_string ( 'question' ) , 'accesshide' ) . ' ' . $ number ; } return html_writer :: tag ( 'span' , $ number , array ( 'class' => 'slotnumber' ) ) ; }
Output the question number.
@param string $number The number, or 'i'.
@return string HTML to output.
Output the question number .