I think you might have misunderstood my question. My main intent is not to fetch an object but rather to make sure that the object has all the specified parent nodes.
If I do
parent_node_id, array(1, 2, etc.)
the result is all the child nodes of node 1, all the child nodes og node 2 and all the child nodes of etc. However, I would like to get the object which has nodes as childs of all these specified parent nodes.
Thanks for your replies. I've now started working on an extension to accomplish this. However, I have run into a problem I can't understand.
According to my admin interface, the node with the id of 98 has the object id of 96 (displayed at the very top of the node in full view). However, when I do a search in the database for the row containing the id 98 in the table eznode_assignment, the field contentobject_id field contains the value 102 in the row returned.
Am I looking at the wrong fields, or perhaps the wrong tables?