silverstripe-frameworktest/code/FileUploadRole.php

12 lines
188 B
PHP

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