[TYPO3-mvc] relation to the same table

Bernd Wilke t3n at pi-phi.de
Mon Dec 14 14:09:21 CET 2015


I have a question about the correct declaration and programming of a 
self-relation of records:


I have records of type mydata and there are two special fields: is_alias 
and alias_of (so, as I could not access the values in the 
fluid-templates, I renamed them to isalias and aliasof (without underscore))

while is_alias is just a boolean alias_of holds a value of another 
mydata-record.

now I want to get the data of that record (automagically?) and replace 
some fields of the current record with the data of that record.

what would be the best solution?  (I'm using TYPO3 7.6.0)

bernd


More information about the TYPO3-project-typo3v4mvc mailing list