wCMF
3.6
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Groups
Pages
class.PDFPage.php
Go to the documentation of this file.
1
<?php
2
/**
3
* wCMF - wemove Content Management Framework
4
* Copyright (C) 2005-2014 wemove digital solutions GmbH
5
*
6
* Licensed under the terms of any of the following licenses
7
* at your choice:
8
*
9
* - GNU Lesser General Public License (LGPL)
10
* http://www.gnu.org/licenses/lgpl.html
11
* - Eclipse Public License (EPL)
12
* http://www.eclipse.org/org/documents/epl-v10.php
13
*
14
* See the license.txt file distributed with this work for
15
* additional information.
16
*
17
* $Id: class.PDFPage.php 1462 2014-02-04 23:52:27Z iherwig $
18
*/
19
require_once(BASE.
"wcmf/lib/core/class.WCMFException.php"
);
20
21
/**
22
* @class PDFPage
23
* @ingroup Output
24
* @brief PDFPage instances define the content of a pdf page by using a
25
* set of FPDF/FPDI commands inside the PDFPage::render method.
26
*
27
* @author ingo herwig <ingo@wemove.com>
28
*/
29
class
PDFPage
30
{
31
/**
32
* Render data onto a pdf.
33
* @param pdf A reference to the FPDF/FPDI instance to render onto
34
* @param page The page number in the pdf document
35
* @param data An optional data object to get data from.
36
*/
37
function
render
(&$pdf, $page, $data=null)
38
{
39
WCMFException::throwEx
(
"render() must be implemented by derived class: "
.get_class($this), __FILE__, __LINE__);
40
}
41
}
42
?>
PDFPage\render
render(&$pdf, $page, $data=null)
Definition:
class.PDFPage.php:37
WCMFException\throwEx
throwEx($message, $file='', $line='')
Definition:
class.WCMFException.php:49
PDFPage
PDFPage instances define the content of a pdf page by using a set of FPDF/FPDI commands inside the PD...
Definition:
class.PDFPage.php:29
wcmf3.x
SVN
framework
wcmf
lib
output
pdf
class.PDFPage.php
Generated on Wed Feb 5 2014 10:51:05 for wCMF by
1.8.6