Forums / Developer / Content object data access / Comment46093
Charly ...
Tuesday 06 June 2006 7:34:18 am
the code :
include_once( 'kernel/classes/ezcontentobject.php' ); $object =& eZContentObject::fetch( 1 ); $contentObjectAttributes =& $object->contentObjectAttributes(); foreach ($contentObjectAttributes as $contentObjectAttribute) { var_dump( $contentObjectAttribute ); }
is not good with version 3.8. In fact, I have the error message according to :"Fatal error: Call to a member function on a non-object in..."
Somebody can it give me the good code for version 3.8 ?
Thank you in advance,