public function build()
    {
        $this->buildIncludes();
        $this->_view = General::sanitize($this->_view);

        $header = new XMLElement('div');
        $header->setAttribute('id', 'header');
        $jump = new XMLElement('div');
        $jump->setAttribute('id', 'jump');
        $content = new XMLElement('div');
        $content->setAttribute('id', 'content');

        $this->buildHeader($header);
        $this->buildNavigation($header);

        $this->buildJump($jump);
        $header->appendChild($jump);

        $this->Body->appendChild($header);

        $this->buildContent($content);
        $this->Body->appendChild($content);

        return $this->generate();
    }
public function build()
    {
        $this->buildIncludes();
        $this->_view = General::sanitize($this->_view);

        $header = new XMLElement('div');
        $header->setAttribute('id', 'header');
        $jump = new XMLElement('div');
        $jump->setAttribute('id', 'jump');
        $content = new XMLElement('div');
        $content->setAttribute('id', 'content');

        $this->buildHeader($header);
        $this->buildNavigation($header);

        $this->buildJump($jump);
        $header->appendChild($jump);

        $this->Body->appendChild($header);

        $this->buildContent($content);
        $this->Body->appendChild($content);

        return $this->generate();
    }
public function build ( ) { $ this -> buildIncludes ( ) ; $ this -> _view = General :: sanitize ( $ this -> _view ) ; $ header = new XMLElement ( 'div' ) ; $ header -> setAttribute ( 'id' , 'header' ) ; $ jump = new XMLElement ( 'div' ) ; $ jump -> setAttribute ( 'id' , 'jump' ) ; $ content = new XMLElement ( 'div' ) ; $ content -> setAttribute ( 'id' , 'content' ) ; $ this -> buildHeader ( $ header ) ; $ this -> buildNavigation ( $ header ) ; $ this -> buildJump ( $ jump ) ; $ header -> appendChild ( $ jump ) ; $ this -> Body -> appendChild ( $ header ) ; $ this -> buildContent ( $ content ) ; $ this -> Body -> appendChild ( $ content ) ; return $ this -> generate ( ) ; }
Called when page is generated, this function calls each of the other
other functions in this page to build the Header, the Navigation,
the Jump menu and finally the content. This function calls it's parent
generate function

@see toolkit.HTMLPage#generate()
@throws InvalidArgumentException
@return string
Called when page is generated this function calls each of the other other functions in this page to build the Header the Navigation the Jump menu and finally the content . This function calls it s parent generate function