Friday 16 May 2003 9:38:33 am
Sometimes I find that using attribute(show) doesn't show me the attributes of a particular field. Today this occured with an enum. I want to query the attributes of a class and issued a fetch to retreive the class_attribute_list for my class. Issuing the command (where 6 is the enum class attribute id): {$my_attribute_array[6]|attribute(show)} produces the attributes' attributes as expected. {$my_attribute_array[6].content|attribute(show)} doesn't show anything, but: {$my_attribute_array[6].content.enum_list|attribute(show)} has the list of elements that i want to see and query. Only by looking through code did i find out about 'enum_list'. Is there a reason why the 'content' look up failed? Paul
|