Forums / General / Fetching Object Relation Node Name / Comment58470
Gaetano Giunta
Thursday 15 April 2010 2:06:57 pm
@John Smith: using print_r will not help you a lot with ezpersistentobjects, unfortunately. The key here is the attribute() function: sometimes it finds data stored as an element of the object, sometimes it calls another php function to retrieve the attribute value (hey, like properties in Delphi!).
You can find a function to easily map an ezpersistentobject to something more inspectable here: http://projects.ez.no/ggxmlview/news/ggxmlview_0_2_released
Principal Consultant International Business Member of the Community Project Board