mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
36 lines
No EOL
639 B
PHP
36 lines
No EOL
639 B
PHP
<?php
|
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
|
/**
|
|
* Interface for the import->upload plugins
|
|
*
|
|
* @package PhpMyAdmin
|
|
*/
|
|
if (! defined('PHPMYADMIN')) {
|
|
exit;
|
|
}
|
|
|
|
/**
|
|
* Provides a common interface that will have to implemented by all of the
|
|
* import->upload plugins.
|
|
*
|
|
* @package PhpMyAdmin
|
|
*/
|
|
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);
|
|
}
|
|
?>
|