Overview

Packages

  • Admin
  • Archive
  • Common
  • DB
  • Express
  • Form
  • Layout
  • Mailer
  • None
  • OpenHomeoDB
  • PDF
    • MC
  • Process
  • Rep
  • RevRep
  • SaveReps
  • Search
  • Session
  • SymRem
  • TreeView
  • UserDB

Classes

  • PDF
  • Overview
  • Package
  • Class
  • Tree

Class PDF

The PDF class extends the FPDF class and the PDF_MC_Table class for creating an PDF with the repertorization result

The PDF class writes a customized header and footer on each PDF page and creates the result table prepared for PDF.

FPDF
Extended by PDF_MC_Table
Extended by PDF
Package: PDF
Category: PDF
Copyright: 2007-2014 Henri Schumacher
License: GNU Affero General Public License v3
Author: Henri Schumacher <henri.hulski@gazeta.pl>
Located at include/classes/fpdf/pdf.php
Methods summary
public
# Header( )

Header writes the header of the PDF page

Header writes the header of the PDF page

Overrides

FPDF::Header()
public
# Footer( )

Footer writes the footer of the PDF page

Footer writes the footer of the PDF page

Overrides

FPDF::Footer()
public
# create_result_table( array $header_ar, array $first_row_ar, array $data_ar, integer $symptom_col_width = 0, integer $col_width = 0 )

create_result_table creates the result table for the PDF

create_result_table creates the result table for the PDF

Parameters

$header_ar
array
$header_ar contains the data for the table header
$first_row_ar
array
$first_row_ar contains the data of the first row of the table
$data_ar
array
$data_ar contains the data of the table body
$symptom_col_width
integer
$symptom_col_width Column width for the second column containing the symptom. If 0 it will be calculated.
$col_width
integer
$col_width Column width for the following columns. If 0 it will be calculated.
public
# table_header( array $header_ar, array $first_row_ar, array $aligns_ar )

table_header builds the table header

table_header builds the table header

table_header builds the table header including the first row of the repertorization table. The header row contains the remedies and the first row the grades/hits.

Parameters

$header_ar
array
$header_ar contains the content of the header row
$first_row_ar
array
$first_row_ar contains the content of the first row
$aligns_ar
array
$aligns_ar contains the column alignments
Methods inherited from PDF_MC_Table
CheckPageBreak(), NbLines(), Row(), SetAligns(), SetCellHeight(), SetFill(), SetWidths()
Methods inherited from FPDF
AcceptPageBreak(), AddFont(), AddLink(), AddPage(), AliasNbPages(), Cell(), Close(), Error(), FPDF(), GetStringWidth(), GetX(), GetY(), Image(), Line(), Link(), Ln(), MultiCell(), Open(), Output(), PageNo(), Rect(), SetAuthor(), SetAutoPageBreak(), SetCompression(), SetCreator(), SetDisplayMode(), SetDrawColor(), SetFillColor(), SetFont(), SetFontSize(), SetKeywords(), SetLeftMargin(), SetLineWidth(), SetLink(), SetMargins(), SetRightMargin(), SetSubject(), SetTextColor(), SetTitle(), SetTopMargin(), SetX(), SetXY(), SetY(), Text(), Write(), _UTF8toUTF16(), _beginpage(), _checkoutput(), _dochecks(), _dounderline(), _enddoc(), _endpage(), _escape(), _getpagesize(), _loadfont(), _newobj(), _out(), _parsegif(), _parsejpg(), _parsepng(), _parsepngstream(), _putcatalog(), _putfonts(), _putheader(), _putimage(), _putimages(), _putinfo(), _putpages(), _putresourcedict(), _putresources(), _putstream(), _puttrailer(), _putxobjectdict(), _readint(), _readstream(), _textstring()
Properties inherited from PDF_MC_Table
$aligns, $cell_height, $fill, $table_page, $widths
Properties inherited from FPDF
$AliasNbPages, $AutoPageBreak, $ColorFlag, $CoreFonts, $CurOrientation, $CurPageSize, $CurrentFont, $DefOrientation, $DefPageSize, $DrawColor, $FillColor, $FontFamily, $FontFiles, $FontSize, $FontSizePt, $FontStyle, $InFooter, $InHeader, $LayoutMode, $LineWidth, $PDFVersion, $PageBreakTrigger, $PageLinks, $PageSizes, $StdPageSizes, $TextColor, $ZoomMode, $author, $bMargin, $buffer, $cMargin, $compress, $creator, $diffs, $fontpath, $fonts, $h, $hPt, $images, $k, $keywords, $lMargin, $lasth, $links, $n, $offsets, $page, $pages, $rMargin, $state, $subject, $tMargin, $title, $underline, $w, $wPt, $ws, $x, $y
OpenHomeopath PHP code documentation API documentation generated by ApiGen 2.8.0