mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
13 lines
215 B
PHP
13 lines
215 B
PHP
<?php
|
|
class FileUploadRole extends DataExtension{
|
|
function extraStatics($class = null, $extension = null) {
|
|
return array(
|
|
'has_one' => array(
|
|
'AFile' => 'File',
|
|
'AImage' => 'Image',
|
|
),
|
|
);
|
|
}
|
|
}
|
|
?>
|