MgdSchema method get_parent
Description:
$object->get_parent(void)
Minimum version: Midgard 1.7
Gets MgdSchema parent object.
get_parent()) {
print "Parent object found with id $parent->id";
}
?>
Returns parent ( in tree ) object or false when object is not retrieved from database.
Follow mgd_errstr() function to get error message on failure.
Type should have parent class name and parentfield defined in XML schema file.
