Closed ahri closed 14 years ago
Can't behave in quite the same way as the TLO version (i.e. export the stuff in TLORelationshipResult->fetch() to __setup()) because of the key name stuff.
Could fix this by adding to the select so that we know what the keys are for the relationship, and also what the keys and class are for the relation. Is it any better adding invisible coupling though? Probably not.
In fact it might be a good idea to move the similar stuff (key processing) out of TLO->__setup() and into TLOObjectResult->fetch() for consistency.
Implement TLORelationship->__setup() and refactor stuff so that TLO/TLORelationship (mostly) do initialisation the same way. Closed by b834c93c10061b3d600784c44cbd415e67cef4c7
It works very nicely for TLOs, so why not TLORelationships?