Method |
Description |
|
ColoredTable ( array $header, array $data ) |
Print the table containing the detailed information. |
|
Footer ( ) |
Print a footer on every page. |
|
columnWidths ( integer $max_time_width, $max_money_width ) : array |
Create the array which hold the column widths. They depends on the maximum with
the time column and the money column need. |
|
getHtmlStringLines ( string $string, integer $line_width ) : integer |
Split the string in lines and check if a line would overflow and cause more lines. |
|
printExpenseRow ( array $w, array $row ) |
Put a new expense entry into the PDF document. |
|
printRows ( array $data, array $widths ) |
Put a new entry into the PDF document. Decide if it's a time entry or
expense entry and call the appropriate functions. |
|
printTimeRow ( array $w, array $row ) |
Put a new time entry into the PDF document. |
|