Node count

Author Message

Christian Lundvang

Monday 18 August 2003 1:21:21 am

Hi.

Is it possible to get the number of nodes in a Ez installation?

E.g.
Main1
sub1
sub2
sub3
Main2
sub1
sub2
Total nodes here is 7. Is it possible to get the amount of subnodes in Main1?

Thanks in advance.

--
Best Regards
Christian Lundvang
http://www.nxc.no

Christian Lundvang

Tuesday 19 August 2003 7:18:41 am

Found it.
Here: http://www.ez.no/developer/ez_publish_3/forum/setup_design/how_can_i_count_the_articales_number_in_main_folders_

--
Best Regards
Christian Lundvang
http://www.nxc.no

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

Main resources:

Total runtime0.8676 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.9219152.6094
Module start 'layout' 0.00690.0051 741.531339.3984
Module start 'content' 0.01200.8543 780.9297487.1953
Module end 'content' 0.86630.0012 1,268.12508.2031
Script end 0.8676  1,276.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3632160.0002
Check MTime0.00130.1542160.0001
Mysql Total
Database connection0.00150.177510.0015
Mysqli_queries0.813693.7771520.0156
Looping result0.00070.0772500.0000
Template Total0.812593.720.4063
Template load0.00220.248420.0011
Template processing0.810493.401920.4052
Template load and register function0.00010.011810.0001
states
state_id_array0.00170.190910.0017
state_identifier_array0.00110.124720.0005
Override
Cache load0.00180.2083200.0001
Sytem overhead
Fetch class attribute can translate value0.00080.089010.0008
Fetch class attribute name0.00160.183530.0005
XML
Image XML parsing0.00050.062710.0005
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00070.0819160.0000
String conversion0.00000.001040.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs