Ajax
final class Ajax (View source)
Handles plugins that show the upload progress.
Methods
Sets up some variables for upload progress
Checks if PhpMyAdmin\Plugins\Import\Upload\UploadProgress bar extension is available.
Checks if PHP 5.4 session upload-progress feature is available.
Default plugin for handling import.
The function outputs json encoded status of uploaded.
Details
static array
uploadProgressSetup()
Sets up some variables for upload progress
static bool
progressCheck()
Checks if PhpMyAdmin\Plugins\Import\Upload\UploadProgress bar extension is available.
static bool
sessionCheck()
Checks if PHP 5.4 session upload-progress feature is available.
static true
nopluginCheck()
Default plugin for handling import.
If no other plugin is available, noplugin is used.
static void
status(string $id)
The function outputs json encoded status of uploaded.
It uses PMA_getUploadStatus, which is defined in plugin's file.