src/Webtrees/Mvc/View/AbstractView.php
public function render() {
        global $controller;        
        
        if(!$this->ctrl) throw new \Exception('Controller not initialised');
        
		$controller = $this->ctrl;
        $this->ctrl->pageHeader();
        
        echo $this->renderContent();
    }
public function render() {
        global $controller;        
        
        if(!$this->ctrl) throw new \Exception('Controller not initialised');
        
		$controller = $this->ctrl;
        $this->ctrl->pageHeader();
        
        echo $this->renderContent();
    }
public function render ( ) { global $ controller ; if ( ! $ this -> ctrl ) throw new \ Exception ( 'Controller not initialised' ) ; $ controller = $ this -> ctrl ; $ this -> ctrl -> pageHeader ( ) ; echo $ this -> renderContent ( ) ; }
Render the view to the page, including header.

@throws \Exception
Render the view to the page including header .