24 lines
500 B
PHP
Raw Normal View History

<?php
2016-10-14 14:30:05 +13:00
namespace SilverStripe\i18n\Tests\i18nTest;
use SilverStripe\Dev\TestOnly;
2016-10-14 14:30:05 +13:00
use SilverStripe\Security\Group;
class MySubObject extends MyObject implements TestOnly
{
private static $table_name = 'i18nTest_MySubObject';
2016-10-14 14:30:05 +13:00
private static $db = array(
'SubProperty' => 'Varchar',
);
2014-08-15 18:53:05 +12:00
private static $has_many = array(
'SubRelation' => Group::class
);
2014-08-15 18:53:05 +12:00
private static $singular_name = "My Sub Object";
2014-08-15 18:53:05 +12:00
private static $plural_name = "My Sub Objects";
}