CMS
Version 3.9
manifest.inc
Go to the documentation of this file.
1
<?php
7
class
PdfManifest
8
{
9
static
function
getComponentDefinition
()
10
{
11
$component
=
new
Component
();
12
$component
->name =
"pdf"
;
13
$component
->description =
"PDF Generation via wkhtmltopdf"
;
14
$component
->author =
"Andy Green"
;
15
$component
->version =
"1.0"
;
16
$component
->priority = 10;
17
$component
->enabled =
true
;
18
19
return
$component
;
20
}
21
22
static
function
subscribeToEvents
()
23
{
24
return
array(
25
"ComponentScanComplete"
=> array(
PdfManager
, setDefaults),
26
"PreProcessPage"
=> array(
PdfManager
, preProcessTemplate)
27
//TODO: Add Event Registrations here
28
);
29
}
30
}
31
?>
$component
$component
Definition:
help.inc:38
Component
Definition:
component.inc:42
PdfManager
Provides a central management class for event handlers and common functionality for the pdf component...
Definition:
pdf_manager.inc:16
PdfManifest
Definition:
manifest.inc:8
PdfManifest\subscribeToEvents
static subscribeToEvents()
Definition:
manifest.inc:22
PdfManifest\getComponentDefinition
static getComponentDefinition()
Definition:
manifest.inc:9
code
cms.sonjara.com
cms
components
pdf
manifest.inc
Generated on Tue Mar 23 2021 15:36:11 for CMS by
1.9.1