GridFieldBulkEditingTools/code/GFBIUploadField.php
2013-06-02 21:07:00 +03:00

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);
}
}