ImportShp
class ImportShp extends ImportPlugin (View source)
Handles the import for ESRI Shape files
Properties
protected ImportPluginProperties | $properties | Object containing the import plugin properties. |
from ImportPlugin |
protected Import | $import | from ImportPlugin |
Methods
Plugin specific initializations.
Handles the whole import logic
Gets the import specific format plugin properties
Sets the export plugins properties and is implemented by each import plugin.
Define DB name and options
No description
Returns specified number of bytes from the buffer.
Details
final
__construct()
No description
protected void
init()
Plugin specific initializations.
array
doImport(File|null $importHandle = null)
Handles the whole import logic
PluginPropertyItem
getProperties()
Gets the import specific format plugin properties
protected ImportPluginProperties
setProperties()
Sets the export plugins properties and is implemented by each import plugin.
protected array
getDbnameAndOptions(string $currentDb, string $defaultDb)
Define DB name and options
static bool
isAvailable()
No description
string
getName()
No description
static string
readFromBuffer(int $length)
Returns specified number of bytes from the buffer.
Buffer automatically fetches next chunk of data when the buffer falls short. Sets $eof when $GLOBALS['finished'] is set and the buffer falls short.