mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
20 lines
356 B
PHP
20 lines
356 B
PHP
|
<?php
|
||
|
/**
|
||
|
* @package sapphire
|
||
|
* @subpackage tests
|
||
|
*/
|
||
|
class i18nTextCollectorTestMyObject extends DataObject implements TestOnly {
|
||
|
static $db = array(
|
||
|
'FirstProperty' => 'Varchar',
|
||
|
'SecondProperty' => 'Int'
|
||
|
);
|
||
|
|
||
|
static $has_many = array(
|
||
|
'Relation' => 'Group'
|
||
|
);
|
||
|
|
||
|
static $singular_name = "My Object";
|
||
|
|
||
|
static $plural_name = "My Objects";
|
||
|
}
|