silverstripe-framework/tests/i18n/i18nTextCollectorTestMyObject.php
2016-07-07 11:32:28 +12:00

22 lines
444 B
PHP

<?php
use SilverStripe\ORM\DataObject;
/**
* @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";
}