silverstripe-framework/tests/php/i18n/i18nTest/MySubObject.php
2016-12-19 16:08:19 +13:00

24 lines
500 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 = array(
'SubProperty' => 'Varchar',
);
private static $has_many = array(
'SubRelation' => Group::class
);
private static $singular_name = "My Sub Object";
private static $plural_name = "My Sub Objects";
}