silverstripe-framework/tests/php/Forms/UploadFieldTest/ExtendedFile.php
2016-12-19 16:08:19 +13:00

18 lines
352 B
PHP

<?php
namespace SilverStripe\Forms\Tests\UploadFieldTest;
use SilverStripe\Assets\File;
use SilverStripe\Dev\TestOnly;
/**
* Used for testing the create-on-upload
*/
class ExtendedFile extends File implements TestOnly
{
private static $has_many = array(
'HasOneExtendedRecords' => 'UploadFieldTest_Record.HasOneExtendedFile'
);
}