mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
24 lines
490 B
PHP
24 lines
490 B
PHP
<?php
|
|
|
|
namespace SilverStripe\i18n\Tests\i18nTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\Security\Group;
|
|
|
|
class MySubObject extends MyObject implements TestOnly
|
|
{
|
|
private static $table_name = 'i18nTest_MySubObject';
|
|
|
|
private static $db = [
|
|
'SubProperty' => 'Varchar',
|
|
];
|
|
|
|
private static $has_many = [
|
|
'SubRelation' => Group::class
|
|
];
|
|
|
|
private static $singular_name = "My Sub Object";
|
|
|
|
private static $plural_name = "My Sub Objects";
|
|
}
|