mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
32 lines
925 B
PHP
32 lines
925 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\FullTextSearch\Tests\SearchUpdaterTest;
|
||
|
|
||
|
use SilverStripe\ORM\DataObject;
|
||
|
use SilverStripe\FullTextSearch\Tests\SearchUpdaterTest\SearchUpdaterTest_HasOne;
|
||
|
use SilverStripe\FullTextSearch\Tests\SearchUpdaterTest\SearchUpdaterTest_HasMany;
|
||
|
use SilverStripe\FullTextSearch\Tests\SearchUpdaterTest\SearchUpdaterTest_ManyMany;
|
||
|
|
||
|
class SearchUpdaterTest_Container extends DataObject
|
||
|
{
|
||
|
private static $db = array(
|
||
|
'Field1' => 'Varchar',
|
||
|
'Field2' => 'Varchar',
|
||
|
'MyDate' => 'Date',
|
||
|
);
|
||
|
|
||
|
private static $table_name = 'SearchUpdaterTest_Container';
|
||
|
|
||
|
private static $has_one = array(
|
||
|
'HasOneObject' => SearchUpdaterTest_HasOne::class
|
||
|
);
|
||
|
|
||
|
private static $has_many = array(
|
||
|
'HasManyObjects' => SearchUpdaterTest_HasMany::class
|
||
|
);
|
||
|
|
||
|
private static $many_many = array(
|
||
|
'ManyManyObjects' => SearchUpdaterTest_ManyMany::class
|
||
|
);
|
||
|
}
|