phpmyadmin/libraries/plugins/UploadInterface.int.php
2012-06-22 18:28:24 +03:00

35 lines
626 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
*
* @return array|null
*/
public static function getUploadStatus();
}
?>