2014-05-11 21:23:03 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2015-12-15 13:08:57 +01:00
|
|
|
* Legacy GridFieldBulkImageUpload component.
|
2014-05-11 21:23:03 +02:00
|
|
|
*
|
|
|
|
* @deprecated 2.0 "GridFieldBulkImageUpload" is deprecated, use {@link GridFieldBulkUpload} class instead.
|
|
|
|
*
|
|
|
|
* @author colymba
|
|
|
|
*/
|
|
|
|
class GridFieldBulkImageUpload extends GridFieldBulkUpload
|
|
|
|
{
|
2015-12-15 13:08:57 +01:00
|
|
|
/**
|
|
|
|
* Component constructor.
|
2014-05-11 21:23:03 +02:00
|
|
|
*
|
|
|
|
* @deprecated 2.0 "GridFieldBulkImageUpload" is deprecated, use {@link GridFieldBulkUpload} class instead.
|
|
|
|
*
|
|
|
|
* @param string $fileRelationName
|
|
|
|
*/
|
|
|
|
public function __construct($fileRelationName = null)
|
2015-12-15 13:08:57 +01:00
|
|
|
{
|
|
|
|
Deprecation::notice('2.0', '"GridFieldBulkImageUpload" is deprecated, use "GridFieldBulkUpload" class instead.');
|
|
|
|
|
|
|
|
return new GridFieldBulkUpload($fileRelationName);
|
2014-05-11 21:23:03 +02:00
|
|
|
}
|
2015-12-15 13:08:57 +01:00
|
|
|
}
|