silverstripe-framework/admin/tests/ModelAdminTest/Contact.php

20 lines
442 B
PHP
Raw Normal View History

2016-11-13 08:35:43 +01:00
<?php
namespace SilverStripe\Admin\Tests\ModelAdminTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class Contact extends DataObject implements TestOnly
{
private static $table_name = 'ModelAdminTest_Contact';
private static $db = array(
'Name' => 'Varchar',
'Phone' => 'Varchar',
);
private static $summary_fields = array(
'Name' => 'Name',
'Phone' => 'Phone'
);
2016-11-13 08:35:43 +01:00
}