New contrib: the getobjects attribute

Author Message

Xavier Dutoit

Sunday 22 May 2005 11:25:37 am

Hi,

This operator allows to retrieve a list of all the embedded objects into a xmltext attribute. This is useful (at least to me) to avoid duplicates between the objects embedded into the body of an article and the list of the related objects for instance.

Both
http://www.ez.no/community/contribs/template_plugins/get_object_extension
and in pubsvn.ez.no

Hope you'll find it useful.

X+

http://www.sydesy.com

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 09:05:30
Script start
Timing: Jan 19 2025 09:05:30
Module start 'layout'
Timing: Jan 19 2025 09:05:30
Module start 'content'
Timing: Jan 19 2025 09:05:30
Module end 'content'
Timing: Jan 19 2025 09:05:30
Script end

Main resources:

Total runtime0.0226 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0092 589.1797152.6250
Module start 'layout' 0.00920.0043 741.804739.4453
Module start 'content' 0.01350.0066 781.250085.3359
Module end 'content' 0.02010.0024 866.585930.3047
Script end 0.0225  896.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003013.2074140.0002
Check MTime0.00146.3792140.0001
Mysql Total
Database connection0.00167.043610.0016
Mysqli_queries0.004620.573130.0015
Looping result0.00000.092910.0000
Template Total0.00198.610.0019
Template load0.00115.036910.0011
Template processing0.00083.512810.0008
Override
Cache load0.00083.712410.0008
General
dbfile0.00219.232080.0003
String conversion0.00000.051840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs