MidCOM DBA object method get_parent_guid
string get_parent_guid();
Returns the guid of the immedate logical parent of the given object. This is very context dependant, so there is no general rule what you object type you will get. If any object does not have a logical parent (like the average MidgardPerson or a top level MidgardTopic), the function returns null.
This function is based on the mixed get_parent_guid_uncached(); helper function. Its results are cached using the memcache backend if it is available. This allows for fast Tree-Traversal without database access as long as it is not needed. Both functions are subject to the DBA level cache and must not be overwritten directly.
