silverstripe-framework/tests/php/Forms/UploadFieldTest/ExtendedFile.php

18 lines
340 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?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'
);
}