Sunday 11 July 2004 7:00:54 am
I'm using get_class on an object like this: {$forum.item|get_class}
where $forum is a loop variable. I also tried this: {$forum.item.object|get_class}
And I get these results:
ezcontentobjecttreenode ezcontentobject How can I found out the real class of an object, for example, detect if some object is of class Folder or class Article?
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|