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

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 15:17:41
Script start
Timing: Jan 18 2025 15:17:41
Module start 'layout'
Timing: Jan 18 2025 15:17:41
Module start 'content'
Timing: Jan 18 2025 15:17:42
Module end 'content'
Timing: Jan 18 2025 15:17:42
Script end

Main resources:

Total runtime1.0432 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.0156152.6250
Module start 'layout' 0.00620.0025 740.640639.4453
Module start 'content' 0.00871.0333 780.0859544.3125
Module end 'content' 1.04200.0012 1,324.39848.1563
Script end 1.0432  1,332.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2964160.0002
Check MTime0.00130.1222160.0001
Mysql Total
Database connection0.00080.081210.0008
Mysqli_queries0.993795.2569540.0184
Looping result0.00040.0406520.0000
Template Total1.012797.120.5063
Template load0.00210.204320.0011
Template processing1.010596.866020.5053
Template load and register function0.00010.008610.0001
states
state_id_array0.00080.077510.0008
state_identifier_array0.00080.072720.0004
Override
Cache load0.00170.1628470.0000
Sytem overhead
Fetch class attribute can translate value0.00050.045820.0002
Fetch class attribute name0.00090.086140.0002
XML
Image XML parsing0.00100.097020.0005
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00090.0819230.0000
String conversion0.00000.000640.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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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