PHP Class PMA\libraries\plugins\import\ImportShp

Inheritance: extends PMA\libraries\plugins\ImportPlugin
Exibir arquivo Open project: phpmyadmin/phpmyadmin Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor
doImport ( &$sql_data = [] ) : void Handles the whole import logic
readFromBuffer ( integer $length ) : string Returns specified number of bytes from the buffer.

Protected Methods

Method Description
setProperties ( ) : void Sets the import plugin properties.

Method Details

__construct() public method

Constructor
public __construct ( )

doImport() public method

Handles the whole import logic
public doImport ( &$sql_data = [] ) : void
return void

readFromBuffer() public static method

Buffer automatically fetches next chunk of data when the buffer falls short. Sets $eof when $GLOBALS['finished'] is set and the buffer falls short.
public static readFromBuffer ( integer $length ) : string
$length integer number of bytes
return string

setProperties() protected method

Called in the constructor.
protected setProperties ( ) : void
return void