class ImportAjax

PhpMyAdmin\Display\ImportAjax class

Methods

static array
uploadProgressSetup()

Sets up some variables for upload progress

static boolean
apcCheck()

Checks if APC bar extension is available and configured correctly.

static boolean
progressCheck()

Checks if PhpMyAdmin\Plugins\Import\Upload\UploadProgress bar extension is available.

static boolean
sessionCheck()

Checks if PHP 5.4 session upload-progress feature is available.

static boolean
nopluginCheck()

Default plugin for handling import.

static void
status(string $id)

The function outputs json encoded status of uploaded.

Details

at line 25
static array uploadProgressSetup()

Sets up some variables for upload progress

Return Value

array

at line 78
static boolean apcCheck()

Checks if APC bar extension is available and configured correctly.

Return Value

boolean true if APC extension is available and if rfc1867 is enabled, false if it is not

at line 96
static boolean progressCheck()

Checks if PhpMyAdmin\Plugins\Import\Upload\UploadProgress bar extension is available.

Return Value

boolean true if PhpMyAdmin\Plugins\Import\Upload\UploadProgress extension is available, false if it is not

at line 108
static boolean sessionCheck()

Checks if PHP 5.4 session upload-progress feature is available.

Return Value

boolean true if PHP 5.4 session upload-progress is available, false if it is not

at line 119
static boolean nopluginCheck()

Default plugin for handling import.

If no other plugin is available, noplugin is used.

Return Value

boolean true

at line 132
static void status(string $id)

The function outputs json encoded status of uploaded.

It uses PMA_getUploadStatus, which is defined in plugin's file.

Parameters

string $id ID of transfer, usually $upload_id

Return Value

void