Forums / Developer / Access to class attributs
Bermudez Alban
Friday 16 December 2005 7:38:05 am
Hello world,
I create a attribut "auteur" in my class file. But i don't know how access to this.
My Object is Name: File Identifiant: file Modèle de nom d'objet: <name> Container: NonObject count: 4
and his Attributs are : 4. Auteur [Authors] (id:181) Nom: AuteurIdentifiant: auteur_du_fichier
I try that : $Subitem.object.data_map.auteur.content But it's not that. Have you idea?
ps : I'm french, so escuse me for my english very poor :))
Gabriel Ambuehl
Friday 16 December 2005 7:43:34 am
You need to use the identifier not the name in template code.
Visit http://triligon.org
Friday 16 December 2005 7:53:08 am
Thanks :)
But now, it is the description of the object who is printing (Object(ezauthor)). How i can to print the value of the object?
I must to call the attributs of the object ezauthor?