PHP Class PMA\libraries\plugins\import\ImportShp

Inheritance: extends PMA\libraries\plugins\ImportPlugin
Afficher le fichier Open project: phpmyadmin/phpmyadmin Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
setProperties ( ) : void Sets the import plugin properties.

Method Details

__construct() public méthode

Constructor
public __construct ( )

doImport() public méthode

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

readFromBuffer() public static méthode

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
Résultat string

setProperties() protected méthode

Called in the constructor.
protected setProperties ( ) : void
Résultat void