mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
7ecbf49ac9
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@117896 467b73ca-7a2a-4603-9d3b-597d59a354a9
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";
|
|
}
|
|
?>
|