silverstripe-framework/docs/en
maks b9922a7314
$has_one docs
The ` $has_one` can be used both for `1-to-1` and `many-to-1` relations, depending on how is configured the inverse mapping on the related class. The documentation seems to suggest that `$has_one` implies a `1-to-1` relation, but then it gives an example of a `many-to-1` relationship. Since we are focusing on `$has_one` I would also put the `Player` class before the `Team` class.
2018-08-18 15:06:08 +02:00
..
_images Update main.php path to support framework in vendor 2017-10-03 09:03:37 +13:00
00_Getting_Started DOCS More resilient example domain 2018-06-26 10:13:36 +12:00
01_Lessons Removed deprecated tutorials from docs 2017-12-19 11:45:27 +13:00
02_Developer_Guides $has_one docs 2018-08-18 15:06:08 +02:00
03_Upgrading Update index.md 2018-08-01 16:30:18 +12:00
04_Changelogs Merge branch '4.2' into 4 2018-07-30 17:11:42 +01:00
05_Contributing DOCS Consistent app/ folder and composer use 2018-06-25 10:40:19 +12:00
index.md Docs: Remove forum and IRC references 2017-12-19 11:45:27 +13:00