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: | Jan 18 2025 01:09:07 |
Script start | |
Timing: | Jan 18 2025 01:09:07 |
Module start 'layout' | |
Timing: | Jan 18 2025 01:09:07 |
Module start 'content' | |
Timing: | Jan 18 2025 01:09:07 |
Module end 'content' | |
Timing: | Jan 18 2025 01:09:07 |
Script end |
Total runtime | 0.2492 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.0058 | 592.5078 | 152.6250 |
Module start 'layout' | 0.0058 | 0.0040 | 745.1328 | 39.4453 |
Module start 'content' | 0.0098 | 0.2378 | 784.5781 | 881.9844 |
Module end 'content' | 0.2475 | 0.0016 | 1,666.5625 | 26.3984 |
Script end | 0.2491 | 1,692.9609 |
Accumulator | Duration (sec) | Duration (%) | Count | Average (sec) |
---|---|---|---|---|
Ini load | ||||
Load cache | 0.0032 | 1.2975 | 16 | 0.0002 |
Check MTime | 0.0014 | 0.5604 | 16 | 0.0001 |
Mysql Total | ||||
Database connection | 0.0007 | 0.2958 | 1 | 0.0007 |
Mysqli_queries | 0.1490 | 59.7982 | 86 | 0.0017 |
Looping result | 0.0010 | 0.3950 | 84 | 0.0000 |
Template Total | 0.2096 | 84.1 | 2 | 0.1048 |
Template load | 0.0025 | 0.9897 | 2 | 0.0012 |
Template processing | 0.2071 | 83.1134 | 2 | 0.1035 |
Template load and register function | 0.0002 | 0.0807 | 1 | 0.0002 |
states | ||||
state_id_array | 0.0017 | 0.6778 | 2 | 0.0008 |
state_identifier_array | 0.0013 | 0.5181 | 3 | 0.0004 |
Override | ||||
Cache load | 0.0022 | 0.8946 | 70 | 0.0000 |
Sytem overhead | ||||
Fetch class attribute name | 0.0016 | 0.6390 | 11 | 0.0001 |
Fetch class attribute can translate value | 0.0011 | 0.4294 | 5 | 0.0002 |
class_abstraction | ||||
Instantiating content class attribute | 0.0000 | 0.0100 | 12 | 0.0000 |
XML | ||||
Image XML parsing | 0.0044 | 1.7821 | 5 | 0.0009 |
General | ||||
dbfile | 0.0040 | 1.6240 | 37 | 0.0001 |
String conversion | 0.0000 | 0.0040 | 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