src/Html2Pdf.php
protected function _setPageHeader()
    {
        if (!count($this->_subHEADER)) {
            return false;
        }

        if (in_array($this->pdf->getPage(), $this->_hideHeader)) {
            return false;
        }

        $oldParsePos = $this->_parsePos;
        $oldParseCode = $this->parsingHtml->code;

        $this->_parsePos = 0;
        $this->parsingHtml->code = $this->_subHEADER;
        $this->_makeHTMLcode();

        $this->_parsePos = $oldParsePos;
        $this->parsingHtml->code = $oldParseCode;
    }
protected function _setPageHeader()
    {
        if (!count($this->_subHEADER)) {
            return false;
        }

        if (in_array($this->pdf->getPage(), $this->_hideHeader)) {
            return false;
        }

        $oldParsePos = $this->_parsePos;
        $oldParseCode = $this->parsingHtml->code;

        $this->_parsePos = 0;
        $this->parsingHtml->code = $this->_subHEADER;
        $this->_makeHTMLcode();

        $this->_parsePos = $oldParsePos;
        $this->parsingHtml->code = $oldParseCode;
    }
protected function _setPageHeader ( ) { if ( ! count ( $ this -> _subHEADER ) ) { return false ; } if ( in_array ( $ this -> pdf -> getPage ( ) , $ this -> _hideHeader ) ) { return false ; } $ oldParsePos = $ this -> _parsePos ; $ oldParseCode = $ this -> parsingHtml -> code ; $ this -> _parsePos = 0 ; $ this -> parsingHtml -> code = $ this -> _subHEADER ; $ this -> _makeHTMLcode ( ) ; $ this -> _parsePos = $ oldParsePos ; $ this -> parsingHtml -> code = $ oldParseCode ; }
draw the PDF header with the HTML in page_header

@access protected
draw the PDF header with the HTML in page_header