GridFieldBulkEditingTools/code/GFBIUploadField.php

25 lines
440 B
PHP
Raw Normal View History

2013-06-02 20:07:00 +02:00
<?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);
}
}