mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
257ff69e32
* API Support many_many through polymorphic relations (from side only) Fixes #7911 Fixes #3136 * Add extra docs and allow optional arguments * ENHANCEMENT Enable quiet to be turned off * BUG Fix issue with manymanythroughlist duplication
54 lines
1.8 KiB
YAML
54 lines
1.8 KiB
YAML
SilverStripe\ORM\Tests\ManyManyThroughListTest\TestObject:
|
|
parent1:
|
|
Title: 'my object'
|
|
SilverStripe\ORM\Tests\ManyManyThroughListTest\Item:
|
|
child1:
|
|
Title: 'item 1'
|
|
child2:
|
|
Title: 'item 2'
|
|
SilverStripe\ORM\Tests\ManyManyThroughListTest\JoinObject:
|
|
join1:
|
|
Title: 'join 1'
|
|
Sort: 4
|
|
Parent: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\TestObject.parent1
|
|
Child: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\Item.child1
|
|
join2:
|
|
Title: 'join 2'
|
|
Sort: 2
|
|
Parent: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\TestObject.parent1
|
|
Child: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\Item.child2
|
|
SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyObjectA:
|
|
obja1:
|
|
Title: 'object A1'
|
|
SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyObjectB:
|
|
objb1:
|
|
Title: 'object B1'
|
|
objb2:
|
|
Title: 'object B2'
|
|
SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyItem:
|
|
child1:
|
|
Title: 'item 1'
|
|
child2:
|
|
Title: 'item 2'
|
|
SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyJoinObject:
|
|
join1:
|
|
Title: 'join 1'
|
|
Sort: 4
|
|
Parent: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyObjectA.obja1
|
|
Child: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyItem.child1
|
|
join2:
|
|
Title: 'join 2'
|
|
Sort: 2
|
|
Parent: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyObjectA.obja1
|
|
Child: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyItem.child2
|
|
join3:
|
|
Title: 'join 3'
|
|
Sort: 2
|
|
Parent: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyObjectB.objb1
|
|
Child: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyItem.child2
|
|
join4:
|
|
Title: 'join 4'
|
|
Sort: 2
|
|
Parent: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyObjectB.objb2
|
|
Child: =>SilverStripe\ORM\Tests\ManyManyThroughListTest\PolyItem.child2
|