ClassModelList::updateXref()DeprecatedPlease use the Relations instead.
This function is used to automate the links creation and destruction with simplified command. After saving an item, if the POST query has sent more datas concerning relations with other tables, this function must be called.
N:M Use (many-to-many)The links are database rows. This following example is written in traveller (item) model:
N:1 UseForeign Keys are widly used in Cook, but what happen when we want to set up those links from the opposite side ? The links are made with simple foreign keys in opposite table. This following example is written in country (item) model |
|
Hi guys Before I ask for help just like to say I tried the tutorials on how to make a 2.5 component WOW.... HECTIC!! J-Cook is really amazing in its simplicity!!