silverstripe-framework/tests/i18n/i18nTextCollectorTestMyObject.php

20 lines
386 B
PHP
Raw Normal View History

<?php
/**
* @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";
}