2016-10-14 03:30:05 +02:00
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\Sortable:
|
2016-10-04 20:14:16 +02:00
|
|
|
numeric1:
|
|
|
|
Sort: 0
|
|
|
|
Name: steven
|
|
|
|
numeric2:
|
|
|
|
Sort: -1
|
|
|
|
Name: bonny
|
|
|
|
numeric3:
|
|
|
|
Sort: 1
|
|
|
|
Name: sam
|
|
|
|
numeric4:
|
|
|
|
Sort: -2
|
|
|
|
Name: Bob
|
|
|
|
numeric5:
|
|
|
|
Sort: 2
|
|
|
|
Name: jane
|
|
|
|
numeric6:
|
|
|
|
Sort: -10
|
|
|
|
Name: Steve
|
|
|
|
numeric7:
|
|
|
|
Sort: 10
|
|
|
|
Name: John
|
2016-10-14 03:30:05 +02:00
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany:
|
2015-01-24 00:13:17 +01:00
|
|
|
equipmentcompany1:
|
|
|
|
Name: Company corp
|
|
|
|
equipmentcompany2:
|
|
|
|
Name: 'Team co.'
|
2016-10-14 03:30:05 +02:00
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\SubEquipmentCompany:
|
2015-01-24 00:13:17 +01:00
|
|
|
subequipmentcompany1:
|
|
|
|
Name: John Smith and co
|
2016-10-14 03:30:05 +02:00
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\Team:
|
2015-01-24 00:13:17 +01:00
|
|
|
team1:
|
|
|
|
Title: Team 1
|
2016-10-14 03:30:05 +02:00
|
|
|
Sponsors:
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany.equipmentcompany1
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany.equipmentcompany2
|
|
|
|
EquipmentSuppliers: =>SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany.equipmentcompany2
|
2015-01-24 00:13:17 +01:00
|
|
|
team2:
|
|
|
|
Title: Team 2
|
2016-10-14 03:30:05 +02:00
|
|
|
Sponsors:
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany.equipmentcompany2
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\SubEquipmentCompany.subequipmentcompany1
|
|
|
|
EquipmentSuppliers:
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany.equipmentcompany1
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany.equipmentcompany2
|
2015-01-24 00:13:17 +01:00
|
|
|
team3:
|
|
|
|
Title: Team 3
|
2016-10-14 03:30:05 +02:00
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\Player:
|
2015-01-24 00:13:17 +01:00
|
|
|
captain1:
|
|
|
|
FirstName: Captain
|
2015-09-17 00:19:03 +02:00
|
|
|
Surname: Zookeeper
|
2015-01-24 00:13:17 +01:00
|
|
|
ShirtNumber: 007
|
2016-10-14 03:30:05 +02:00
|
|
|
FavouriteTeam: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
|
|
|
Teams: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
|
|
|
FoundingTeams: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
2015-01-24 00:13:17 +01:00
|
|
|
IsRetired: 1
|
|
|
|
captain2:
|
|
|
|
FirstName: Captain 2
|
2015-09-17 00:19:03 +02:00
|
|
|
Surname: Aaron
|
2016-10-14 03:30:05 +02:00
|
|
|
Teams: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team2
|
|
|
|
FoundingTeams: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team2
|
2015-01-24 00:13:17 +01:00
|
|
|
player1:
|
|
|
|
FirstName: Player 1
|
|
|
|
player2:
|
|
|
|
FirstName: Player 2
|
2016-10-14 03:30:05 +02:00
|
|
|
Teams:
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\Team.team2
|
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\SubTeam:
|
2015-01-24 00:13:17 +01:00
|
|
|
subteam1:
|
|
|
|
Title: Subteam 1
|
|
|
|
SubclassDatabaseField: Subclassed 1
|
|
|
|
ExtendedDatabaseField: Extended 1
|
2016-10-14 03:30:05 +02:00
|
|
|
ParentTeam: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
|
|
|
Sponsors:
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany.equipmentcompany1
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany.equipmentcompany2
|
|
|
|
EquipmentSuppliers: =>SilverStripe\ORM\Tests\DataObjectTest\EquipmentCompany.equipmentcompany1
|
2015-01-24 00:13:17 +01:00
|
|
|
subteam2_with_player_relation:
|
|
|
|
Title: Subteam 2
|
|
|
|
SubclassDatabaseField: Subclassed 2
|
2016-10-14 03:30:05 +02:00
|
|
|
ExtendedHasOneRelationship: =>SilverStripe\ORM\Tests\DataObjectTest\Player.player1
|
2015-01-24 00:13:17 +01:00
|
|
|
subteam3_with_empty_fields:
|
|
|
|
Title: Subteam 3
|
2016-10-14 03:30:05 +02:00
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\TeamComment:
|
2015-01-24 00:13:17 +01:00
|
|
|
comment1:
|
|
|
|
Name: Joe
|
|
|
|
Comment: This is a team comment by Joe
|
2016-10-14 03:30:05 +02:00
|
|
|
Team: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
2015-01-24 00:13:17 +01:00
|
|
|
comment2:
|
|
|
|
Name: Bob
|
|
|
|
Comment: This is a team comment by Bob
|
2016-10-14 03:30:05 +02:00
|
|
|
Team: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
2015-01-24 00:13:17 +01:00
|
|
|
comment3:
|
|
|
|
Name: Phil
|
|
|
|
Comment: Phil is a unique guy, and comments on team2
|
2016-10-14 03:30:05 +02:00
|
|
|
Team: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team2
|
|
|
|
SilverStripe\ORM\Tests\ManyManyListTest\Product:
|
2016-05-10 16:56:15 +02:00
|
|
|
producta:
|
|
|
|
Title: 'Product A'
|
|
|
|
productb:
|
|
|
|
Title: 'Product B'
|
2016-10-14 03:30:05 +02:00
|
|
|
RelatedProducts: =>SilverStripe\ORM\Tests\ManyManyListTest\Product.producta
|
|
|
|
SilverStripe\ORM\Tests\ManyManyListTest\Category:
|
2016-05-10 16:56:15 +02:00
|
|
|
categorya:
|
|
|
|
Title: 'Category A'
|
2016-10-14 03:30:05 +02:00
|
|
|
Products:
|
|
|
|
- =>SilverStripe\ORM\Tests\ManyManyListTest\Product.producta
|
|
|
|
- =>SilverStripe\ORM\Tests\ManyManyListTest\Product.productb
|
2016-05-12 17:05:54 +02:00
|
|
|
comment1:
|
|
|
|
Name: Joe
|
|
|
|
Comment: This is a team comment by Joe
|
2016-10-14 03:30:05 +02:00
|
|
|
Team: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
2016-05-12 17:05:54 +02:00
|
|
|
comment2:
|
|
|
|
Name: Bob
|
|
|
|
Comment: This is a team comment by Bob
|
2016-10-14 03:30:05 +02:00
|
|
|
Team: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
2016-05-12 17:05:54 +02:00
|
|
|
comment3:
|
|
|
|
Name: Phil
|
|
|
|
Comment: Phil is a unique guy, and comments on team2
|
2016-10-14 03:30:05 +02:00
|
|
|
Team: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team2
|
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\Fan:
|
2015-01-24 00:13:17 +01:00
|
|
|
fan1:
|
|
|
|
Name: Damian
|
2015-05-19 03:39:39 +02:00
|
|
|
Email: damian@thefans.com
|
2016-10-14 03:30:05 +02:00
|
|
|
Favourite: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
2015-01-24 00:13:17 +01:00
|
|
|
fan2:
|
|
|
|
Name: Stephen
|
2016-10-14 03:30:05 +02:00
|
|
|
Favourite: =>SilverStripe\ORM\Tests\DataObjectTest\Player.player1
|
|
|
|
SecondFavourite: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team2
|
2015-01-24 00:13:17 +01:00
|
|
|
fan3:
|
|
|
|
Name: Richard
|
2015-05-19 03:39:39 +02:00
|
|
|
Email: richie@richers.com
|
2016-10-14 03:30:05 +02:00
|
|
|
Favourite: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
2015-01-24 00:13:17 +01:00
|
|
|
fan4:
|
|
|
|
Name: Mitch
|
2016-10-14 03:30:05 +02:00
|
|
|
Favourite: =>SilverStripe\ORM\Tests\DataObjectTest\SubTeam.subteam1
|
2015-05-19 03:39:39 +02:00
|
|
|
fan5:
|
|
|
|
Name: Hamish
|
|
|
|
Email: ''
|
2016-10-14 03:30:05 +02:00
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\Company:
|
2015-01-24 00:13:17 +01:00
|
|
|
company1:
|
|
|
|
Name: Company corp
|
2016-10-14 03:30:05 +02:00
|
|
|
Owner: =>SilverStripe\ORM\Tests\DataObjectTest\Player.player1
|
2015-01-24 00:13:17 +01:00
|
|
|
company1:
|
|
|
|
Name: 'Team co.'
|
2016-10-14 03:30:05 +02:00
|
|
|
Owner: =>SilverStripe\ORM\Tests\DataObjectTest\Player.player2
|
2017-05-19 04:07:45 +02:00
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\Bracket:
|
|
|
|
final:
|
|
|
|
Title: 'Final'
|
|
|
|
Winner: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team2
|
|
|
|
prefinal1:
|
|
|
|
Title: 'Prelim final 1'
|
|
|
|
Next: =>SilverStripe\ORM\Tests\DataObjectTest\Bracket.final
|
|
|
|
Winner: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team2
|
|
|
|
prefinal2:
|
|
|
|
Title: 'Prelim final 2'
|
|
|
|
Next: =>SilverStripe\ORM\Tests\DataObjectTest\Bracket.final
|
|
|
|
Winner: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team1
|
|
|
|
semifinal1:
|
|
|
|
Title: 'Semi final 1'
|
|
|
|
Next: =>SilverStripe\ORM\Tests\DataObjectTest\Bracket.prefinal1
|
|
|
|
Winner: =>SilverStripe\ORM\Tests\DataObjectTest\Team.team2
|
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\RelationChildSecond:
|
|
|
|
test1:
|
|
|
|
Title: 'Test 1'
|
|
|
|
test2:
|
|
|
|
Title: 'Test 2'
|
|
|
|
test3:
|
|
|
|
Title: 'Test 3'
|
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\RelationChildFirst:
|
|
|
|
test1:
|
|
|
|
Title: 'Test1'
|
|
|
|
ManyNext:
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\RelationChildSecond.test1
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\RelationChildSecond.test2
|
|
|
|
test2:
|
|
|
|
Title: 'Test2'
|
|
|
|
ManyNext:
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\RelationChildSecond.test1
|
|
|
|
- =>SilverStripe\ORM\Tests\DataObjectTest\RelationChildSecond.test3
|
2019-09-10 04:15:28 +02:00
|
|
|
|
|
|
|
SilverStripe\ORM\Tests\DataObjectTest\TreeNode:
|
|
|
|
root:
|
|
|
|
Title: Root
|
|
|
|
child:
|
|
|
|
Title: Children
|
|
|
|
Parent: =>SilverStripe\ORM\Tests\DataObjectTest\TreeNode.root
|
|
|
|
grandchild:
|
|
|
|
Title: GrandChildren
|
|
|
|
Parent: =>SilverStripe\ORM\Tests\DataObjectTest\TreeNode.child
|