how to create a pdf table?

Author Message

Sven Anderson

Wednesday 28 July 2004 8:33:30 am

Hello,

the example says

{pdf(table, $rows, hash( showlines, 1 ) )}

but how can $row be filled ? And filled with what type of data (maybe an array?)?

greets,
Sven

Kåre Køhler Høvik

Thursday 05 August 2004 12:05:12 am

$rows is filled by kernel/classes/datatypes/ezxmltext/handlers/output/ezpdfxmloutput.php .
$rows is an array of the results from tr.tpl and th.tpl .

Kåre Høvik

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 07:19:20
Script start
Timing: Jan 19 2025 07:19:20
Module start 'layout'
Timing: Jan 19 2025 07:19:20
Module start 'content'
Timing: Jan 19 2025 07:19:21
Module end 'content'
Timing: Jan 19 2025 07:19:21
Script end

Main resources:

Total runtime1.2527 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1563152.6250
Module start 'layout' 0.00630.0026 741.781339.4453
Module start 'content' 0.00881.2425 781.2266520.5078
Module end 'content' 1.25130.0014 1,301.73448.1641
Script end 1.2527  1,309.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2483160.0002
Check MTime0.00120.0990160.0001
Mysql Total
Database connection0.00100.079610.0010
Mysqli_queries1.205396.2152540.0223
Looping result0.00110.0861520.0000
Template Total1.220197.420.6101
Template load0.00220.173820.0011
Template processing1.218097.223220.6090
Template load and register function0.00030.020410.0003
states
state_id_array0.00160.131510.0016
state_identifier_array0.00150.119720.0007
Override
Cache load0.00180.1434130.0001
Sytem overhead
Fetch class attribute can translate value0.00070.058920.0004
Fetch class attribute name0.00220.176630.0007
XML
Image XML parsing0.00070.058820.0004
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00100.0788150.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs