Forums / Developer / fetch content of attributes in object

fetch content of attributes in object

Author Message

Alain Mangana

Wednesday 28 January 2009 3:57:21 am


I have a content class that is as follows:

Classe

name: Prise en main
Identifiant: prise_en_main

Attributes

1. Titre court [Ligne de texte] (id:355)
name:Titre court
Identifiant:titre_court

2. Titre [Ligne de texte] (id:356)
name:Titre
Identifiant:titre

6. Chapô [Bloc XML] (id:661)
name:Chapô
Identifiant:chapo

7. Intertitre 1 [Ligne de texte] (id:361)
name:Intertitre 1
Identifiant:intertitre_1

8. Texte 1 [Bloc XML] (id:662)
name:Texte 1
Identifiant:texte_1

9. Intertitre 2 [Ligne de texte] (id:363)
name:Intertitre 2
Identifiant:intertitre_2

10. Texte 2 [Bloc XML] (id:663)
name:Texte 2
Identifiant:texte_2

11. Intertitre 3 [Ligne de texte] (id:664)
name:Intertitre 3
Identifiant:intertitre_3

12. Texte 3 [Bloc XML] (id:665)
name:Texte 3
Identifiant:texte_3

how to fetch the content of all attributes of object with a name beginning with heading

http://tikdem.com
/

Jérôme Vieilledent

Wednesday 28 January 2009 1:12:49 pm

how to fetch the content of all attributes of object with a name beginning with heading

What do you mean exactly

eZ debug

Timing: Jan 20 2025 05:01:44
Script start
Timing: Jan 20 2025 05:01:44
Module start 'content'
Timing: Jan 20 2025 05:01:45
Module end 'content'
Timing: Jan 20 2025 05:01:45
Script end

Main resources:

Total runtime1.2950 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0094 588.9766180.8281
Module start 'content' 0.00941.2772 769.8047549.3906
Module end 'content' 1.28670.0082 1,319.195342.1016
Script end 1.2949  1,361.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2844140.0003
Check MTime0.00170.1284140.0001
Mysql Total
Database connection0.00150.119610.0015
Mysqli_queries1.230795.0340550.0224
Looping result0.00070.0503530.0000
Template Total1.244996.120.6225
Template load0.00280.216120.0014
Template processing1.242195.916320.6211
Template load and register function0.00010.011510.0001
states
state_id_array0.00150.117710.0015
state_identifier_array0.00310.237220.0015
Override
Cache load0.00230.1802470.0000
Sytem overhead
Fetch class attribute can translate value0.00100.078020.0005
Fetch class attribute name0.00090.073040.0002
XML
Image XML parsing0.00260.197820.0013
class_abstraction
Instantiating content class attribute0.00000.000440.0000
General
dbfile0.00880.6790250.0004
String conversion0.00000.000630.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
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs