protected function drawPageHeader()
    {
        $data = $this->data;

        $title = utf8_decode($data['header_title'] ?? '');
        $body = utf8_decode($data['header_body'] ?? '');
        $info = utf8_decode($this->simpleTemplate($data['header_info'] ?? ''));

        $this->billetSetFont('cell_data');

        if (strlen($title)) {
            $this->Cell(177, 3, $title, 0, 1, 'C');
            $this->Ln(2);
        }

        if (strlen($body)) {
            $this->MultiCell(177, 3, $body);
            $this->Ln(2);
        }

        $this->billetSetFont('digitable');
        $this->MultiCell(177, 3.5, $info);
        $this->Ln(4);
    }
protected function drawPageHeader()
    {
        $data = $this->data;

        $title = utf8_decode($data['header_title'] ?? '');
        $body = utf8_decode($data['header_body'] ?? '');
        $info = utf8_decode($this->simpleTemplate($data['header_info'] ?? ''));

        $this->billetSetFont('cell_data');

        if (strlen($title)) {
            $this->Cell(177, 3, $title, 0, 1, 'C');
            $this->Ln(2);
        }

        if (strlen($body)) {
            $this->MultiCell(177, 3, $body);
            $this->Ln(2);
        }

        $this->billetSetFont('digitable');
        $this->MultiCell(177, 3.5, $info);
        $this->Ln(4);
    }
protected function drawPageHeader ( ) { $ data = $ this -> data ; $ title = utf8_decode ( $ data [ 'header_title' ] ?? '' ) ; $ body = utf8_decode ( $ data [ 'header_body' ] ?? '' ) ; $ info = utf8_decode ( $ this -> simpleTemplate ( $ data [ 'header_info' ] ?? '' ) ) ; $ this -> billetSetFont ( 'cell_data' ) ; if ( strlen ( $ title ) ) { $ this -> Cell ( 177 , 3 , $ title , 0 , 1 , 'C' ) ; $ this -> Ln ( 2 ) ; } if ( strlen ( $ body ) ) { $ this -> MultiCell ( 177 , 3 , $ body ) ; $ this -> Ln ( 2 ) ; } $ this -> billetSetFont ( 'digitable' ) ; $ this -> MultiCell ( 177 , 3.5 , $ info ) ; $ this -> Ln ( 4 ) ; }
Draws the Page Header
Draws the Page Header