Wednesday 06 October 2010 4:38:01 am - 10 replies
Often you need to include external 3rd party libraries or your own libraries in the extensions (like for example a SOAP library). The problem comes when you have to include the same library in several extensions.
Here is how to do it without having to copy the same library in every extension directory.
Author |
---|
Moderated by: Nicolas Pastorino |
You must be logged in to post messages in this topic!
Timing: | Jan 18 2025 00:06:58 |
Script start | |
Timing: | Jan 18 2025 00:06:58 |
Module start 'layout' | |
Timing: | Jan 18 2025 00:06:58 |
Module start 'content' | |
Timing: | Jan 18 2025 00:06:59 |
Module end 'content' | |
Timing: | Jan 18 2025 00:06:59 |
Script end |
Total runtime | 0.2006 sec |
Peak memory usage | 4,096.0000 KB |
Database Queries | 93 |
Checkpoint | Start (sec) | Duration (sec) | Memory at start (KB) | Memory used (KB) |
---|---|---|---|---|
Script start | 0.0000 | 0.0074 | 588.0469 | 152.6406 |
Module start 'layout' | 0.0074 | 0.0028 | 740.6875 | 39.4844 |
Module start 'content' | 0.0102 | 0.1892 | 780.1719 | 801.3750 |
Module end 'content' | 0.1995 | 0.0011 | 1,581.5469 | 30.3984 |
Script end | 0.2006 | 1,611.9453 |
Accumulator | Duration (sec) | Duration (%) | Count | Average (sec) |
---|---|---|---|---|
Ini load | ||||
Load cache | 0.0032 | 1.6145 | 16 | 0.0002 |
Check MTime | 0.0014 | 0.6797 | 16 | 0.0001 |
Mysql Total | ||||
Database connection | 0.0015 | 0.7496 | 1 | 0.0015 |
Mysqli_queries | 0.0982 | 48.9277 | 93 | 0.0011 |
Looping result | 0.0008 | 0.4149 | 91 | 0.0000 |
Template Total | 0.1737 | 86.6 | 2 | 0.0869 |
Template load | 0.0021 | 1.0297 | 2 | 0.0010 |
Template processing | 0.1717 | 85.5626 | 2 | 0.0858 |
Template load and register function | 0.0001 | 0.0663 | 1 | 0.0001 |
states | ||||
state_id_array | 0.0012 | 0.5817 | 2 | 0.0006 |
state_identifier_array | 0.0010 | 0.4744 | 3 | 0.0003 |
Override | ||||
Cache load | 0.0019 | 0.9578 | 53 | 0.0000 |
Sytem overhead | ||||
Fetch class attribute name | 0.0014 | 0.6832 | 14 | 0.0001 |
Fetch class attribute can translate value | 0.0005 | 0.2707 | 3 | 0.0002 |
class_abstraction | ||||
Instantiating content class attribute | 0.0001 | 0.0310 | 21 | 0.0000 |
XML | ||||
Image XML parsing | 0.0016 | 0.8050 | 3 | 0.0005 |
General | ||||
dbfile | 0.0010 | 0.5120 | 32 | 0.0000 |
String conversion | 0.0000 | 0.0050 | 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 | ||
11 | content/datatype/view/ezxmltext.tpl | <No override> | extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tpl | ||
13 | content/datatype/view/ezxmltags/paragraph.tpl | <No override> | extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tpl | ||
10 | content/datatype/view/ezimage.tpl | <No override> | extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tpl | ||
1 | content/datatype/view/ezxmltags/literal.tpl | <No override> | extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 38 Number of unique templates used: 7 |
Time used to render debug report: 0.0001 secs