2017-04-21 06:34:04 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace SilverStripe\FullTextSearch\Tests\SearchUpdaterTest;
|
|
|
|
|
|
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
use SilverStripe\FullTextSearch\Tests\SearchUpdaterTest\SearchUpdaterTest_Container;
|
|
|
|
|
|
|
|
class SearchUpdaterTest_HasOne extends DataObject
|
|
|
|
{
|
|
|
|
private static $db = array(
|
|
|
|
'Field1' => 'Varchar',
|
|
|
|
'Field2' => 'Varchar'
|
|
|
|
);
|
|
|
|
|
|
|
|
private static $table_name = 'SearchUpdaterTest_HasOne';
|
|
|
|
|
|
|
|
private static $has_many = array(
|
2017-11-14 04:31:16 +01:00
|
|
|
'HasManyContainers' => SearchUpdaterTest_Container::class,
|
|
|
|
'HasManyOtherContainer' => SearchUpdaterTest_OtherContainer::class,
|
2017-04-21 06:34:04 +02:00
|
|
|
);
|
|
|
|
}
|