Friday 04 June 2010 8:09:02 am - 6 replies
This tutorial will show you how to create eZ Publish objects using PHP to allow you to dynamically create or import content from elsewhere. After reading this article you should be able to create objects for any situation including those with XML fields, image or file fields and object relations.
Author |
---|
You must be logged in to post messages in this topic!
Timing: | Feb 02 2025 08:48:34 |
Script start | |
Timing: | Feb 02 2025 08:48:34 |
Module start 'layout' | |
Timing: | Feb 02 2025 08:48:34 |
Module start 'content' | |
Timing: | Feb 02 2025 08:48:34 |
Module end 'content' | |
Timing: | Feb 02 2025 08:48:34 |
Script end |
Total runtime | 0.1642 sec |
Peak memory usage | 4,096.0000 KB |
Database Queries | 86 |
Checkpoint | Start (sec) | Duration (sec) | Memory at start (KB) | Memory used (KB) |
---|---|---|---|---|
Script start | 0.0000 | 0.0050 | 588.1563 | 151.2109 |
Module start 'layout' | 0.0050 | 0.0021 | 739.3672 | 36.6484 |
Module start 'content' | 0.0071 | 0.1564 | 776.0156 | 839.7031 |
Module end 'content' | 0.1635 | 0.0007 | 1,615.7188 | 26.0859 |
Script end | 0.1642 | 1,641.8047 |
Accumulator | Duration (sec) | Duration (%) | Count | Average (sec) |
---|---|---|---|---|
Ini load | ||||
Load cache | 0.0030 | 1.8456 | 16 | 0.0002 |
Check MTime | 0.0013 | 0.7905 | 16 | 0.0001 |
Mysql Total | ||||
Database connection | 0.0006 | 0.3660 | 1 | 0.0006 |
Mysqli_queries | 0.0864 | 52.6111 | 86 | 0.0010 |
Looping result | 0.0006 | 0.3426 | 84 | 0.0000 |
Template Total | 0.1411 | 85.9 | 2 | 0.0706 |
Template load | 0.0020 | 1.2463 | 2 | 0.0010 |
Template processing | 0.1391 | 84.6907 | 2 | 0.0695 |
Template load and register function | 0.0001 | 0.0749 | 1 | 0.0001 |
states | ||||
state_id_array | 0.0010 | 0.6100 | 2 | 0.0005 |
state_identifier_array | 0.0010 | 0.5930 | 3 | 0.0003 |
Override | ||||
Cache load | 0.0019 | 1.1473 | 70 | 0.0000 |
Sytem overhead | ||||
Fetch class attribute name | 0.0013 | 0.7848 | 11 | 0.0001 |
Fetch class attribute can translate value | 0.0004 | 0.2618 | 5 | 0.0001 |
class_abstraction | ||||
Instantiating content class attribute | 0.0000 | 0.0107 | 12 | 0.0000 |
XML | ||||
Image XML parsing | 0.0030 | 1.7974 | 5 | 0.0006 |
General | ||||
dbfile | 0.0029 | 1.7457 | 37 | 0.0001 |
String conversion | 0.0000 | 0.0042 | 4 | 0.0000 |
Note: percentages do not add up to 100% because some accumulators overlap |
Usage | Requested template | Template | Template loaded | Edit | Override |
---|---|---|---|---|---|
1 | node/view/full.tpl | forum_topic/full.tpl | extension/community_design/design/suncana/override/templates/forum_topic/full.tpl | ||
7 | content/datatype/view/ezxmltext.tpl | <No override> | extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tpl | ||
15 | content/datatype/view/ezxmltags/paragraph.tpl | <No override> | extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tpl | ||
5 | content/datatype/view/ezimage.tpl | <No override> | extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tpl | ||
6 | content/datatype/view/ezxmltags/literal.tpl | <No override> | extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tpl | ||
2 | content/datatype/view/ezxmltags/emphasize.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/emphasize.tpl | ||
3 | content/datatype/view/ezxmltags/link.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/link.tpl | ||
1 | content/datatype/view/ezxmltags/strong.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/strong.tpl | ||
1 | content/datatype/view/ezxmltags/line.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/line.tpl | ||
1 | content/datatype/view/ezxmltags/quote.tpl | datatype/ezxmltext/quote.tpl | extension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tpl | ||
1 | print_pagelayout.tpl | <No override> | extension/community/design/community/templates/print_pagelayout.tpl | ||
Number of times templates used: 43 Number of unique templates used: 11 |
Time used to render debug report: 0.0001 secs