Forums / Developer / Getting content class object attributes / Comment46565
Børge Warvik
Friday 25 August 2006 12:23:48 am
Hi
Thanks for the answer, but I can't seem to get it to work.
This just gives me an empty array:
$node = eZContentObjectTreeNode::fetch( $nodeID ); $coNode = eZContentObject::fetch( $node->ContentObjectID ); echo "<pre>"; print_r( $coNode->relatedContentObjectArray() ); echo "</pre>";
Could you mayby post some example code of what you mean?