mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
7221897f27
* Basic SS4 compat: Implemented namespacing, updated some Image manipulations, readmes, composer configuration * Add bootstrap form styles to the bulk manager * API Rename classes to be less confusing with the namespaces
34 lines
822 B
PHP
34 lines
822 B
PHP
<?php
|
|
|
|
namespace Colymba\BulkUpload;
|
|
|
|
use Colymba\BulkUpload\BulkUploader;
|
|
use SilverStripe\Dev\Deprecation;
|
|
|
|
/**
|
|
* Legacy GridFieldBulkImageUpload component.
|
|
*
|
|
* @deprecated 2.0 "GridFieldBulkImageUpload" is deprecated, use {@link BulkUploader} class instead.
|
|
*
|
|
* @author colymba
|
|
*/
|
|
class GridFieldBulkImageUpload extends BulkUploader
|
|
{
|
|
/**
|
|
* Component constructor.
|
|
*
|
|
* @deprecated 2.0 "GridFieldBulkImageUpload" is deprecated, use {@link BulkUploader} class instead.
|
|
*
|
|
* @param string $fileRelationName
|
|
*/
|
|
public function __construct($fileRelationName = null)
|
|
{
|
|
Deprecation::notice(
|
|
'2.0',
|
|
'"GridFieldBulkImageUpload" is deprecated, use "BulkUploader" class instead.'
|
|
);
|
|
|
|
return new BulkUploader($fileRelationName);
|
|
}
|
|
}
|