2008-10-29 22:07:17 +01:00
|
|
|
<?php
|
2016-06-15 06:03:16 +02:00
|
|
|
|
|
|
|
use SilverStripe\ORM\DataObject;
|
2016-08-19 00:51:35 +02:00
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
|
2008-10-29 22:07:17 +01:00
|
|
|
/**
|
2012-04-12 08:02:46 +02:00
|
|
|
* @package framework
|
2008-10-29 22:07:17 +01:00
|
|
|
* @subpackage tests
|
|
|
|
*/
|
|
|
|
class i18nTextCollectorTestMyObject extends DataObject implements TestOnly {
|
2013-03-21 19:48:54 +01:00
|
|
|
private static $db = array(
|
2008-10-29 22:07:17 +01:00
|
|
|
'FirstProperty' => 'Varchar',
|
|
|
|
'SecondProperty' => 'Int'
|
|
|
|
);
|
2014-08-15 08:53:05 +02:00
|
|
|
|
2013-03-21 19:48:54 +01:00
|
|
|
private static $has_many = array(
|
2016-06-23 01:37:22 +02:00
|
|
|
'Relation' => 'SilverStripe\\Security\\Group'
|
2008-10-29 22:07:17 +01:00
|
|
|
);
|
2014-08-15 08:53:05 +02:00
|
|
|
|
2013-03-21 19:48:54 +01:00
|
|
|
private static $singular_name = "My Object";
|
2014-08-15 08:53:05 +02:00
|
|
|
|
2013-03-21 19:48:54 +01:00
|
|
|
private static $plural_name = "My Objects";
|
2008-10-29 22:07:17 +01:00
|
|
|
}
|