silverstripe-framework/tests/i18n/i18nTextCollectorTestMyObject.php

22 lines
420 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(
'Relation' => '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";
}