mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-05 17:21:16 +02:00
20 lines
358 B
PHP
20 lines
358 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";
|
||
|
}
|
||
|
?>
|