To walk the content tree, look at eg. how the ezfind indexation cronjob does it.
To fetch the attributes of a node or object, here's eZP little dirty trick: the "attribute" function.
Every object you read in the eZ manual at http://ez.no/doc/ez_publish/technical_manual/4_x/reference/objects is in php terms a subclass of ezpersistentobject.
And all the object attributes available in templates via "." and documented in the docs are available in php code via the "attribute" function.
So if $node is an ezcontentobjecttreenode, $node->attribute( 'data_map' ) will return an array with all the attributes of the encapsulated object. $node->attribute( 'children' ) will return an array with all the children nodes and so on...
Principal Consultant International Business
Member of the Community Project Board
Thanks... I have walked the tree, I now have access to all nodes (quite fast)... I am triying to access each attribute (I need to display "attribute name" and its "valus", but even with the help of friends this weekend we did not manage to do nothing: