How to access the object attibutes

Author Message

akiL Mussa

Friday 21 May 2004 5:14:14 am

Hello,

Can anybody explain me or suggest a link that explain how can I access all the variables showed when I do something like this:

{$object|attribute(show)}

I don't know how to access the variables that have ">" before. (eg. ">url_alias"). I think that this are variable inside other objects.

Can anyone explain me how can I access this variables?

Alex Jones

Friday 21 May 2004 6:17:43 am

The <i>></i> indicates that the item is one level down in the data tree. So, you would use <i>{$object.data_map.url_alias}</i>.

Does this help?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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:17:39
Script start
Timing: Jan 18 2025 19:17:39
Module start 'layout'
Timing: Jan 18 2025 19:17:39
Module start 'content'
Timing: Jan 18 2025 19:17:40
Module end 'content'
Timing: Jan 18 2025 19:17:40
Script end

Main resources:

Total runtime0.8559 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.0056 589.4453152.6250
Module start 'layout' 0.00560.0033 742.070339.4453
Module start 'content' 0.00890.8454 781.5156518.4531
Module end 'content' 0.85430.0015 1,299.96888.3125
Script end 0.8559  1,308.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4425160.0002
Check MTime0.00170.1928160.0001
Mysql Total
Database connection0.00070.083110.0007
Mysqli_queries0.810894.7293540.0150
Looping result0.00050.0633520.0000
Template Total0.818995.720.4095
Template load0.00240.286220.0012
Template processing0.816495.388120.4082
Template load and register function0.00020.018010.0002
states
state_id_array0.00150.171210.0015
state_identifier_array0.00150.174220.0007
Override
Cache load0.00200.2355130.0002
Sytem overhead
Fetch class attribute can translate value0.00080.089720.0004
Fetch class attribute name0.00160.190330.0005
XML
Image XML parsing0.00050.059620.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00080.0882160.0000
String conversion0.00000.000940.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/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs