silverstripe-framework/tests/i18n/i18nTextCollectorTestMySubObject.php

19 lines
413 B
PHP
Raw Normal View History

<?php
/**
* @package framework
* @subpackage tests
*/
class i18nTextCollectorTestMySubObject extends i18nTextCollectorTestMyObject implements TestOnly {
private static $db = array(
'SubProperty' => 'Varchar',
);
2014-08-15 08:53:05 +02:00
private static $has_many = array(
2016-06-23 01:37:22 +02:00
'SubRelation' => 'SilverStripe\\Security\\Group'
);
2014-08-15 08:53:05 +02:00
private static $singular_name = "My Sub Object";
2014-08-15 08:53:05 +02:00
private static $plural_name = "My Sub Objects";
}