protected function header($title = null) {
        global $OUTPUT;

        // Print the page heading.
        echo $OUTPUT->header();

        if ($title === null) {
            $title = get_string('tours', 'tool_usertours');
        }

        echo $OUTPUT->heading($title);
    }
protected function header($title = null) {
        global $OUTPUT;

        // Print the page heading.
        echo $OUTPUT->header();

        if ($title === null) {
            $title = get_string('tours', 'tool_usertours');
        }

        echo $OUTPUT->heading($title);
    }
protected function header ( $ title = null ) { global $ OUTPUT ; // Print the page heading. echo $ OUTPUT -> header ( ) ; if ( $ title === null ) { $ title = get_string ( 'tours' , 'tool_usertours' ) ; } echo $ OUTPUT -> heading ( $ title ) ; }
Print out the page header.

@param   string  $title     The title to display.
Print out the page header .