mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
094745ec0f
API 'owned_by' is no longer mandatory for relations backed by normal db relations API Extension setOwner/clearOwner is now nested
77 lines
2.4 KiB
YAML
77 lines
2.4 KiB
YAML
VersionedOwnershipTest_Attachment:
|
|
attachment1:
|
|
Title: 'Attachment 1'
|
|
attachment2:
|
|
Title: 'Attachment 2'
|
|
attachment3_published:
|
|
Title: 'Attachment 3'
|
|
attachment4_published:
|
|
Title: 'Attachment 4'
|
|
attachment5_published:
|
|
Title: 'Attachment 5'
|
|
|
|
VersionedOwnershipTest_Related:
|
|
related1:
|
|
Title: 'Related 1'
|
|
Attachments: =>VersionedOwnershipTest_Attachment.attachment1,=>VersionedOwnershipTest_Attachment.attachment2,=>VersionedOwnershipTest_Attachment.attachment5_published
|
|
related2_published:
|
|
Title: 'Related 2'
|
|
Attachments: =>VersionedOwnershipTest_Attachment.attachment3_published,=>VersionedOwnershipTest_Attachment.attachment4_published,=>VersionedOwnershipTest_Attachment.attachment5_published
|
|
|
|
VersionedOwnershipTest_Subclass:
|
|
subclass1_published:
|
|
Title: 'Subclass 1'
|
|
Related: =>VersionedOwnershipTest_Related.related1
|
|
subclass2_published:
|
|
Title: 'Subclass 2'
|
|
Related: =>VersionedOwnershipTest_Related.related2_published
|
|
|
|
VersionedOwnershipTest_RelatedMany:
|
|
relatedmany1_published:
|
|
Title: 'Related Many 1'
|
|
Page: =>VersionedOwnershipTest_Subclass.subclass1_published
|
|
relatedmany2_published:
|
|
Title: 'Related Many 2'
|
|
Page: =>VersionedOwnershipTest_Subclass.subclass1_published
|
|
relatedmany3:
|
|
Title: 'Related Many 3'
|
|
Page: =>VersionedOwnershipTest_Subclass.subclass1_published
|
|
relatedmany4_published:
|
|
Title: 'Related Many 4'
|
|
Page: =>VersionedOwnershipTest_Subclass.subclass2_published
|
|
|
|
VersionedOwnershipTest_Object:
|
|
object1:
|
|
Title: 'Object 1'
|
|
|
|
VersionedOwnershipTest_Image:
|
|
image1_published:
|
|
Title: 'Image 1'
|
|
image2_published:
|
|
Title: 'Image 2'
|
|
|
|
VersionedOwnershipTest_Banner:
|
|
banner1_published:
|
|
Title: 'Banner 1'
|
|
Image: =>VersionedOwnershipTest_Image.image1_published
|
|
banner2_published:
|
|
Title: 'Banner 2'
|
|
Image: =>VersionedOwnershipTest_Image.image1_published
|
|
banner3_published:
|
|
Title: 'Banner 3'
|
|
Image: =>VersionedOwnershipTest_Image.image2_published
|
|
|
|
VersionedOwnershipTest_Page:
|
|
page1_published:
|
|
Title: 'Page 1'
|
|
Banners: =>VersionedOwnershipTest_Banner.banner1_published
|
|
page2_published:
|
|
Title: 'Page 2'
|
|
Banners: =>VersionedOwnershipTest_Banner.banner2_published,=>VersionedOwnershipTest_Banner.banner3_published
|
|
|
|
VersionedOwnershipTest_CustomRelation:
|
|
custom1_published:
|
|
Title: 'Custom 1'
|
|
custom2_published:
|
|
Title: 'Custom 2'
|