wCMF 4.1
Guides
Getting started
Architecture
Model
Persistence
Presentation
Configuration
Security
I18n & l10n
Tests
Versions
4.1.x
4.0.x
API
Classes
Hierarchy
Code
Support
home
travis
build
iherwig
wcmf
src
wcmf
lib
pdf
PDFPage.php
1
<?php
2
/**
3
* wCMF - wemove Content Management Framework
4
* Copyright (C) 2005-2020 wemove digital solutions GmbH
5
*
6
* Licensed under the terms of the MIT License.
7
*
8
* See the LICENSE file distributed with this work for
9
* additional information.
10
*/
11
namespace
wcmf\lib\pdf
;
12
13
/**
14
* PDFPage instances define the content of a pdf page by using a
15
* set of FPDF/FPDI commands inside the PDFPage::render method.
16
*
17
* @author ingo herwig <ingo@wemove.com>
18
*/
19
interface
PDFPage
{
20
21
/**
22
* Render data onto a pdf.
23
* @param $pdf FPDF/FPDI instance to render onto
24
* @param $page The page number in the pdf document
25
* @param $data An optional data object to get data from.
26
*/
27
public
function
render
($pdf, $page, $data=
null
);
28
}
29
?>
wcmf\lib\pdf\PDFPage\render
render($pdf, $page, $data=null)
Render data onto a pdf.
wcmf\lib\pdf
PDF related interfaces and classes.
Definition:
namespaces.php:37
wcmf\lib\pdf\PDFPage
PDFPage instances define the content of a pdf page by using a set of FPDF/FPDI commands inside the PD...
Definition:
PDFPage.php:19