silverstripe-framework/tests/php/i18n/i18nTest/MyObject.php
2016-11-23 19:25:12 +13:00

24 lines
476 B
PHP

<?php
use SilverStripe\ORM\DataObject;
use SilverStripe\Dev\TestOnly;
/**
* @package framework
* @subpackage tests
*/
class i18nTextCollectorTestMyObject extends DataObject implements TestOnly {
private static $db = array(
'FirstProperty' => 'Varchar',
'SecondProperty' => 'Int'
);
private static $has_many = array(
'Relation' => 'SilverStripe\\Security\\Group'
);
private static $singular_name = "My Object";
private static $plural_name = "My Objects";
}