GetLinkedClass(), $oAttDef->GetExtKeyToRemote()); return $oLinkingAttDef->GetTargetClass(); } else { return $oAttDef->GetLinkedClass(); } } catch (Exception $e) { return 'unknown'; } } /** * GetLinkedClass. * * @param AttributeLinkedSet $oAttDef * * @return string */ static public function GetLinkedClass(AttributeLinkedSet $oAttDef): string { return $oAttDef->GetLinkedClass(); } /** * GetTargetField. * * @param AttributeLinkedSet $oAttDef * * @return string|null */ static public function GetTargetField(AttributeLinkedSet $oAttDef): ?string { if ($oAttDef instanceof AttributeLinkedSetIndirect) { return $oAttDef->GetExtKeyToRemote(); } else { return null; } } }