silverstripe-framework/tests/i18n/i18nTextCollectorTestMyObject.php

22 lines
444 B
PHP
Raw Normal View History

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