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.