doc.silverstripe.org/sapphire/tests/i18n/i18nTextCollectorTestMyObject.php
2011-04-10 21:53:26 +00:00

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";
}
?>