original_string: public function full_header() {
          global $PAGE;
  
          $header = new stdClass();
          $header->settingsmenu = $this->context_header_settings_menu();
          $header->contextheader = $this->context_header();
          $header->hasnavbar = empty($PAGE->layout_options['nonavbar']);
          $header->navbar = $this->navbar();
          $header->pageheadingbutton = $this->page_heading_button();
          $header->courseheader = $this->course_header();
          return $this->render_from_template('core/full_header', $header);
      }
code: public function full_header() {
          global $PAGE;
  
          $header = new stdClass();
          $header->settingsmenu = $this->context_header_settings_menu();
          $header->contextheader = $this->context_header();
          $header->hasnavbar = empty($PAGE->layout_options['nonavbar']);
          $header->navbar = $this->navbar();
          $header->pageheadingbutton = $this->page_heading_button();
          $header->courseheader = $this->course_header();
          return $this->render_from_template('core/full_header', $header);
      }
code_tokens: public function full_header ( ) { global $ PAGE ; $ header = new stdClass ( ) ; $ header -> settingsmenu = $ this -> context_header_settings_menu ( ) ; $ header -> contextheader = $ this -> context_header ( ) ; $ header -> hasnavbar = empty ( $ PAGE -> layout_options [ 'nonavbar' ] ) ; $ header -> navbar = $ this -> navbar ( ) ; $ header -> pageheadingbutton = $ this -> page_heading_button ( ) ; $ header -> courseheader = $ this -> course_header ( ) ; return $ this -> render_from_template ( 'core/full_header' , $ header ) ; }
docstring: Wrapper for header elements.
  
  @return string HTML to display the main header.
docstring_tokens: Wrapper for header elements .