mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
25 lines
440 B
PHP
25 lines
440 B
PHP
<?php
|
|
|
|
class GFBIUploadField extends UploadField
|
|
{
|
|
public function setConfig($key, $val) {
|
|
$this->ufConfig[$key] = $val;
|
|
return $this;
|
|
}
|
|
|
|
function extractFileData($postvars)
|
|
{
|
|
return $this->extractUploadedFileData($postvars);
|
|
}
|
|
|
|
function saveTempFile($tmpFile, &$error = null)
|
|
{
|
|
return $this->saveTemporaryFile($tmpFile, $error);
|
|
}
|
|
|
|
function encodeFileAttr(File $file)
|
|
{
|
|
return $this->encodeFileAttributes($file);
|
|
}
|
|
|
|
} |