silverstripe-frameworktest/code/FileUploadRole.php

12 lines
182 B
PHP

<?php
class FileUploadRole extends DataExtension{
function extraStatics() {
return array(
'has_one' => array(
'AFile' => 'File',
'AImage' => 'Image',
),
);
}
}
?>