You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
557 B
32 lines
557 B
2 years ago
|
<?php
|
||
|
/**
|
||
|
* Interface for the import->upload plugins
|
||
|
*/
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace PhpMyAdmin\Plugins;
|
||
|
|
||
|
/**
|
||
|
* Provides a common interface that will have to implemented by all of the
|
||
|
* import->upload plugins.
|
||
|
*/
|
||
|
interface UploadInterface
|
||
|
{
|
||
|
/**
|
||
|
* Gets the specific upload ID Key
|
||
|
*
|
||
|
* @return string ID Key
|
||
|
*/
|
||
|
public static function getIdKey();
|
||
|
|
||
|
/**
|
||
|
* Returns upload status.
|
||
|
*
|
||
|
* @param string $id upload id
|
||
|
*
|
||
|
* @return array|null
|
||
|
*/
|
||
|
public static function getUploadStatus($id);
|
||
|
}
|